Issue Details (XML | Word | Printable)

Key: STDCXX-768
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Martin Sebor
Reporter: Martin Sebor
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
C++ Standard Library

[gcc 4.3.0] error: no include path in which to search for limits.h

Created: 16/Mar/08 12:00 AM   Updated: 07/Jul/08 01:16 PM
Return to search
Component/s: Build and Installation
Affects Version/s: 4.2.0
Fix Version/s: 4.2.1

Time Tracking:
Original Estimate: 4h
Original Estimate - 4h
Remaining Estimate: 3h
Time Spent - 1h Remaining Estimate - 3h
Time Spent: 1h
Time Spent - 1h Remaining Estimate - 3h

Environment: gcc 4.3.0
Issue Links:
Reference
 

Severity: Compiler Error
Resolution Date: 22/Mar/08 11:46 PM


 Description  « Hide
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


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Martin Sebor added a comment - 22/Mar/08 11:46 PM
Fixes committed in r640121 and r640122.
Will close after integrating into 4.2.x in the next bulk merge.

Farid Zaripov added a comment - 17/Apr/08 09:31 AM