[
https://issues.apache.org/jira/browse/STDCXX-768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Sebor reassigned STDCXX-768:
-----------------------------------
Assignee: Martin Sebor
> [gcc 4.3.0] error: no include path in which to search for limits.h
> ------------------------------------------------------------------
>
> Key: STDCXX-768
> URL: https://issues.apache.org/jira/browse/STDCXX-768
> Project: C++ Standard Library
> Issue Type: Bug
> Components: Build
> Affects Versions: 4.2.0
> Environment: gcc 4.3.0
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Priority: Blocker
> Fix For: 4.2.1
>
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> 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):
> {noformat}
> $ 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
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.