You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Andrew Black (JIRA)" <ji...@apache.org> on 2006/02/24 17:34:37 UTC

[jira] Created: (STDCXX-153) [NetBSD 3.0] printf.cpp fails to compile

[NetBSD 3.0] printf.cpp fails to compile
----------------------------------------

         Key: STDCXX-153
         URL: http://issues.apache.org/jira/browse/STDCXX-153
     Project: C++ Standard Library
        Type: Bug
  Components: Test Driver  
    Versions: 4.1.4    
 Environment: gcc version 3.3.3 (NetBSD nb3 20040520)
NetBSD 3.0
    Reporter: Andrew Black


When building the test suite driver, the build fails with the following error

gcc -c -I/house/ablackrw/stdcxx/include/ansi -D_RWSTDDEBUG    -D_RWSTD_USE_CONFIG -I/tmp/ablackrw/stdcxx-11d/include -I/house/ablackrw/stdcxx/include -I/house/ablackrw/stdcxx/../rwtest -I/house/ablackrw/stdcxx/tests/include  -pedantic -nostdinc++ -g  -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align  /house/ablackrw/stdcxx/tests/src/printf.cpp
In file included from /house/ablackrw/stdcxx/include/loc/_punct.h:153,
                 from /house/ablackrw/stdcxx/include/loc/_numpunct.h:36,
                 from /house/ablackrw/stdcxx/include/loc/_num_get.cc:25,
                 from /house/ablackrw/stdcxx/include/loc/_num_get.h:281,
                 from /house/ablackrw/stdcxx/include/ostream:35,
                 from /house/ablackrw/stdcxx/include/istream:31,
                 from /house/ablackrw/stdcxx/include/iostream:26,
                 from /house/ablackrw/stdcxx/tests/src/printf.cpp:56:
/house/ablackrw/stdcxx/include/loc/_punct.cc: In function `_InputIter 
   __rw::__rw_match_name(_InputIter, _InputIter, const _CharT* const*, const 
   unsigned int*, unsigned int, unsigned int&, int&, std::ios_base*)':
/house/ablackrw/stdcxx/include/loc/_punct.cc:89: error: parse error before `(' 
   token
/house/ablackrw/stdcxx/include/loc/_punct.cc:90: error: parse error before `(' 
   token
/house/ablackrw/stdcxx/include/iostream: At top level:
/house/ablackrw/stdcxx/tests/src/printf.cpp:2176: warning: `int 
   _rw_fmtmask(const FmtSpec&, char**, size_t*, int)' defined but not used

Looking at the translation unit in question, the content after preprocessing has completed is
                            _Traits::eq (__ctp->((int)((_toupper_tab_ + 1)[(__names [__k][__pos])])),
                                         __ctp->((int)((_toupper_tab_ + 1)[(__ch)])))

It appears to me that what is happening is that something is #defining toupper , but I have not determined where that is coming from.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (STDCXX-153) [NetBSD 3.0] error on toupper in loc/_punct.cc

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/STDCXX-153?page=all ]

Martin Sebor updated STDCXX-153:
--------------------------------

      Component: 22. Localization
                     (was: Test Driver)
        Summary: [NetBSD 3.0] error on toupper in loc/_punct.cc  (was: [NetBSD 3.0] printf.cpp fails to compile)
    Fix Version: 4.1.4

The error is actually in the library.

> [NetBSD 3.0] error on toupper in loc/_punct.cc
> ----------------------------------------------
>
>          Key: STDCXX-153
>          URL: http://issues.apache.org/jira/browse/STDCXX-153
>      Project: C++ Standard Library
>         Type: Bug
>   Components: 22. Localization
>     Versions: 4.1.4
>  Environment: gcc version 3.3.3 (NetBSD nb3 20040520)
> NetBSD 3.0
>     Reporter: Andrew Black
>     Assignee: Martin Sebor
>      Fix For: 4.1.4

>
> When building the test suite driver, the build fails with the following error
> gcc -c -I/house/ablackrw/stdcxx/include/ansi -D_RWSTDDEBUG    -D_RWSTD_USE_CONFIG -I/tmp/ablackrw/stdcxx-11d/include -I/house/ablackrw/stdcxx/include -I/house/ablackrw/stdcxx/../rwtest -I/house/ablackrw/stdcxx/tests/include  -pedantic -nostdinc++ -g  -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align  /house/ablackrw/stdcxx/tests/src/printf.cpp
> In file included from /house/ablackrw/stdcxx/include/loc/_punct.h:153,
>                  from /house/ablackrw/stdcxx/include/loc/_numpunct.h:36,
>                  from /house/ablackrw/stdcxx/include/loc/_num_get.cc:25,
>                  from /house/ablackrw/stdcxx/include/loc/_num_get.h:281,
>                  from /house/ablackrw/stdcxx/include/ostream:35,
>                  from /house/ablackrw/stdcxx/include/istream:31,
>                  from /house/ablackrw/stdcxx/include/iostream:26,
>                  from /house/ablackrw/stdcxx/tests/src/printf.cpp:56:
> /house/ablackrw/stdcxx/include/loc/_punct.cc: In function `_InputIter 
>    __rw::__rw_match_name(_InputIter, _InputIter, const _CharT* const*, const 
>    unsigned int*, unsigned int, unsigned int&, int&, std::ios_base*)':
> /house/ablackrw/stdcxx/include/loc/_punct.cc:89: error: parse error before `(' 
>    token
> /house/ablackrw/stdcxx/include/loc/_punct.cc:90: error: parse error before `(' 
>    token
> /house/ablackrw/stdcxx/include/iostream: At top level:
> /house/ablackrw/stdcxx/tests/src/printf.cpp:2176: warning: `int 
>    _rw_fmtmask(const FmtSpec&, char**, size_t*, int)' defined but not used
> Looking at the translation unit in question, the content after preprocessing has completed is
>                             _Traits::eq (__ctp->((int)((_toupper_tab_ + 1)[(__names [__k][__pos])])),
>                                          __ctp->((int)((_toupper_tab_ + 1)[(__ch)])))
> It appears to me that what is happening is that something is #defining toupper , but I have not determined where that is coming from.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (STDCXX-153) [NetBSD 3.0] printf.cpp fails to compile

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/STDCXX-153?page=all ]

Martin Sebor reassigned STDCXX-153:
-----------------------------------

    Assign To: Martin Sebor

> [NetBSD 3.0] printf.cpp fails to compile
> ----------------------------------------
>
>          Key: STDCXX-153
>          URL: http://issues.apache.org/jira/browse/STDCXX-153
>      Project: C++ Standard Library
>         Type: Bug
>   Components: Test Driver
>     Versions: 4.1.4
>  Environment: gcc version 3.3.3 (NetBSD nb3 20040520)
> NetBSD 3.0
>     Reporter: Andrew Black
>     Assignee: Martin Sebor

>
> When building the test suite driver, the build fails with the following error
> gcc -c -I/house/ablackrw/stdcxx/include/ansi -D_RWSTDDEBUG    -D_RWSTD_USE_CONFIG -I/tmp/ablackrw/stdcxx-11d/include -I/house/ablackrw/stdcxx/include -I/house/ablackrw/stdcxx/../rwtest -I/house/ablackrw/stdcxx/tests/include  -pedantic -nostdinc++ -g  -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align  /house/ablackrw/stdcxx/tests/src/printf.cpp
> In file included from /house/ablackrw/stdcxx/include/loc/_punct.h:153,
>                  from /house/ablackrw/stdcxx/include/loc/_numpunct.h:36,
>                  from /house/ablackrw/stdcxx/include/loc/_num_get.cc:25,
>                  from /house/ablackrw/stdcxx/include/loc/_num_get.h:281,
>                  from /house/ablackrw/stdcxx/include/ostream:35,
>                  from /house/ablackrw/stdcxx/include/istream:31,
>                  from /house/ablackrw/stdcxx/include/iostream:26,
>                  from /house/ablackrw/stdcxx/tests/src/printf.cpp:56:
> /house/ablackrw/stdcxx/include/loc/_punct.cc: In function `_InputIter 
>    __rw::__rw_match_name(_InputIter, _InputIter, const _CharT* const*, const 
>    unsigned int*, unsigned int, unsigned int&, int&, std::ios_base*)':
> /house/ablackrw/stdcxx/include/loc/_punct.cc:89: error: parse error before `(' 
>    token
> /house/ablackrw/stdcxx/include/loc/_punct.cc:90: error: parse error before `(' 
>    token
> /house/ablackrw/stdcxx/include/iostream: At top level:
> /house/ablackrw/stdcxx/tests/src/printf.cpp:2176: warning: `int 
>    _rw_fmtmask(const FmtSpec&, char**, size_t*, int)' defined but not used
> Looking at the translation unit in question, the content after preprocessing has completed is
>                             _Traits::eq (__ctp->((int)((_toupper_tab_ + 1)[(__names [__k][__pos])])),
>                                          __ctp->((int)((_toupper_tab_ + 1)[(__ch)])))
> It appears to me that what is happening is that something is #defining toupper , but I have not determined where that is coming from.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (STDCXX-153) [NetBSD 3.0] error on toupper in loc/_punct.cc

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/STDCXX-153?page=all ]
     
Martin Sebor resolved STDCXX-153:
---------------------------------

    Resolution: Fixed

> [NetBSD 3.0] error on toupper in loc/_punct.cc
> ----------------------------------------------
>
>          Key: STDCXX-153
>          URL: http://issues.apache.org/jira/browse/STDCXX-153
>      Project: C++ Standard Library
>         Type: Bug
>   Components: 22. Localization
>     Versions: 4.1.4
>  Environment: gcc version 3.3.3 (NetBSD nb3 20040520)
> NetBSD 3.0
>     Reporter: Andrew Black
>     Assignee: Martin Sebor
>      Fix For: 4.1.4

>
> When building the test suite driver, the build fails with the following error
> gcc -c -I/house/ablackrw/stdcxx/include/ansi -D_RWSTDDEBUG    -D_RWSTD_USE_CONFIG -I/tmp/ablackrw/stdcxx-11d/include -I/house/ablackrw/stdcxx/include -I/house/ablackrw/stdcxx/../rwtest -I/house/ablackrw/stdcxx/tests/include  -pedantic -nostdinc++ -g  -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align  /house/ablackrw/stdcxx/tests/src/printf.cpp
> In file included from /house/ablackrw/stdcxx/include/loc/_punct.h:153,
>                  from /house/ablackrw/stdcxx/include/loc/_numpunct.h:36,
>                  from /house/ablackrw/stdcxx/include/loc/_num_get.cc:25,
>                  from /house/ablackrw/stdcxx/include/loc/_num_get.h:281,
>                  from /house/ablackrw/stdcxx/include/ostream:35,
>                  from /house/ablackrw/stdcxx/include/istream:31,
>                  from /house/ablackrw/stdcxx/include/iostream:26,
>                  from /house/ablackrw/stdcxx/tests/src/printf.cpp:56:
> /house/ablackrw/stdcxx/include/loc/_punct.cc: In function `_InputIter 
>    __rw::__rw_match_name(_InputIter, _InputIter, const _CharT* const*, const 
>    unsigned int*, unsigned int, unsigned int&, int&, std::ios_base*)':
> /house/ablackrw/stdcxx/include/loc/_punct.cc:89: error: parse error before `(' 
>    token
> /house/ablackrw/stdcxx/include/loc/_punct.cc:90: error: parse error before `(' 
>    token
> /house/ablackrw/stdcxx/include/iostream: At top level:
> /house/ablackrw/stdcxx/tests/src/printf.cpp:2176: warning: `int 
>    _rw_fmtmask(const FmtSpec&, char**, size_t*, int)' defined but not used
> Looking at the translation unit in question, the content after preprocessing has completed is
>                             _Traits::eq (__ctp->((int)((_toupper_tab_ + 1)[(__names [__k][__pos])])),
>                                          __ctp->((int)((_toupper_tab_ + 1)[(__ch)])))
> It appears to me that what is happening is that something is #defining toupper , but I have not determined where that is coming from.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira