| Anonymous | Login | Signup for a new account | 11-10-2008 10:40 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0000075 | [uClibc++] Other | minor | always | 02-01-05 13:02 | 08-02-05 20:14 | ||||
| Reporter | scott | View Status | public | ||||||
| Assigned To | gkajmowi | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | |||||||
| Summary | 0000075: include/ios compile error if wchar is off | ||||||||
| Description |
ios tries to call btowc even if wide-char support is not enabled. Looks like it needs an 'ifdef' around the call? to reproduce this error, compile the CVS version for powerpc, big endian, but keep wchar off. If I turn on wchar, the problem goes away. |
||||||||
| Additional Information |
g++ -c -Wall -Wno-trigraphs -W -pedantic -Os -fno-builtin -nostdinc++ -ansi -I../include -fPIC -o string.o string.cpp In file included from ../include/istream:20, from ../include/string_iostream:20, from string.cpp:25: ../include/ios: In instantiation of `std::basic_ios<wchar_t, std::char_traits<wchar_t> >': ../include/ios:395: instantiated from here ../include/ios:277: no type named `int_type' in `struct std::char_traits<wchar_t>' ../include/ios:278: no type named `pos_type' in `struct std::char_traits<wchar_t>' ../include/ios:279: no type named `off_type' in `struct std::char_traits<wchar_t>' ../include/ios: In member function `char std::basic_ios<charT, traits>::narrow(charT, char) const [with charT = wchar_t, traits = std::char_traits<wchar_t>]': ../include/ios:397: `wctob' undeclared (first use this function) ../include/ios:397: (Each undeclared identifier is reported only once for each function it appears in.) ../include/ios:398: warning: comparison is always false due to limited range of data type ../include/ios: In member function `charT std::basic_ios<charT, traits>::widen(char) const [with charT = wchar_t, traits = std::char_traits<wchar_t>]': ../include/ios:422: `btowc' undeclared (first use this function) make[1]: *** [string.o] Error 1 make[1]: Leaving directory `/home/james/uClibc++/src' make: *** [all] Error 2 |
||||||||
| Attached Files |
|
||||||||
|
|
|||||||||
| Copyright © 2000 - 2006 Mantis Group |