Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
4.2.0
-
None
-
gcc 4.3.0
-
Compiler Error
Description
Building the library (4.2.0 as well as the head of trunk) with gcc 4.3 fails with the following error (the same error appears earlier in the build process while generating dependencies for other translation units but is ignored):
$ nice make BUILDTYPE=15D BUILDDIR=/build/sebor/stdcxx-gcc-4.3.0-15D ... gcc -c -I/home/sebor/stdcxx/include/ansi -D_RWSTDDEBUG -pthread -I/home/sebor/stdcxx/include -I/build/sebor/stdcxx-gcc-4.3.0-15D/include -pedantic -nostdinc++ -g -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align -fPIC /home/sebor/stdcxx/src/codecvt.cpp In file included from /home/sebor/stdcxx/include/ansi/limits.h:109, from /home/sebor/stdcxx/src/codecvt.cpp:47: /usr/include/../include/limits.h:125:26: error: no include path in which to search for limits.h In file included from /home/sebor/stdcxx/src/codecvt.cpp:61: /home/sebor/stdcxx/include/loc/_localedef.h: In function 'const char* __rw::__rw_utf8toucs4(int*, const char*, const char*)': /home/sebor/stdcxx/include/loc/_localedef.h:763: warning: suggest parentheses around arithmetic in operand of | /home/sebor/stdcxx/src/codecvt.cpp: In member function 'virtual std::codecvt_base::result std::codecvt<char, char, __mbstate_t>::do_out(__mbstate_t&, const char*, const char*, const char*&, char*, char*, char*&) const': /home/sebor/stdcxx/src/codecvt.cpp:127: warning: suggest parentheses around && within || /home/sebor/stdcxx/src/codecvt.cpp:128: warning: suggest parentheses around && within || /home/sebor/stdcxx/src/codecvt.cpp: In member function 'virtual std::codecvt_base::result std::codecvt<char, char, __mbstate_t>::do_in(__mbstate_t&, const char*, const char*, const char*&, char*, char*, char*&) const': /home/sebor/stdcxx/src/codecvt.cpp:183: warning: suggest parentheses around && within || /home/sebor/stdcxx/src/codecvt.cpp:184: warning: suggest parentheses around && within || /home/sebor/stdcxx/src/codecvt.cpp: In member function 'virtual std::codecvt_base::result std::codecvt<char, char, __mbstate_t>::do_unshift(__mbstate_t&, char*, char*, char*&) const': /home/sebor/stdcxx/src/codecvt.cpp:204: warning: suggest parentheses around && within || /home/sebor/stdcxx/src/codecvt.cpp: In member function 'virtual int std::codecvt<char, char, __mbstate_t>::do_length(__mbstate_t&, const char*, const char*, long unsigned int) const': /home/sebor/stdcxx/src/codecvt.cpp:246: warning: suggest parentheses around && within || make[2]: *** [codecvt.o] Error 1 make[2]: Leaving directory `/build/sebor/stdcxx-gcc-4.3.0-15D/lib' make[1]: *** [lib] Error 2 make[1]: Leaving directory `/build/sebor/stdcxx-gcc-4.3.0-15D' make: *** [libstd] Error 2
Attachments
Issue Links
- relates to
-
STDCXX-988 [gcc 4.3.0] /usr/include/limits.h has not been included from include/ansi/limits.h
- Resolved