stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Black (JIRA)" <>
Subject [jira] Created: (STDCXX-153) [NetBSD 3.0] printf.cpp fails to compile
Date Fri, 24 Feb 2006 16:34:37 GMT
[NetBSD 3.0] printf.cpp fails to compile

         Key: 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/,
                 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/ 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/ error: parse error before `(' 
/house/ablackrw/stdcxx/include/loc/ error: parse error before `(' 
/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
                            _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:
For more information on JIRA, see:

View raw message