This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: hpux10.20 works, kindof
>>>>> "BK" == Benjamin Kosnik <bkoz@cygnus.com> writes:
BK> Did you make the necessary changes to c++config.h? I see it's
BK> bailing on a char_traits<wchar_t>, which is kind of suspicious.
Yes I did. This was in the ChangeLog file, even if it took me some
time to understand what file it actually was, since there used to be a
bits/c++config.h in older versions of the libstdc++ tree, but yes, it
was correctly told.
But, I did and still got the error.
BK> For the moment, on HPUX only, you'll have to change line 52 of
BK> src/gen-c++config.cc
Er... I have to do that _in addition_. Sorry, I didn't understand that
this was an _instruction_ in the ChangeLog. OK. I do it. Just a
detail: in my file, it is line 49, not 52.
I do a make clean, and make, and get the same error:
c++ -DHAVE_CONFIG_H -I. -I../../libstdc++/src -I.. -nostdinc++ -I../../libstdc++ -I../../libstdc++/stl -I../../libstdc++/libio -g -D_GNU_SOURCE -fno-implicit-templates -c ../../libstdc++/src/ios.cc
cc1plus: warning: -g is only supported when using GAS on this processor,
cc1plus: warning: -g option disabled.
../../libstdc++/bits/basic_string.h: In instantiation of `basic_string<__wchar_t,char_traits<__wchar_t>,allocator<__wchar_t> >':
../../libstdc++/bits/locale_facets.h:727: instantiated from `_Format_cache<__wchar_t>'
../../libstdc++/src/ios.cc:240: instantiated from here
../../libstdc++/bits/basic_string.h:98: invalid use of undefined type `class char_traits<__wchar_t>'
../../libstdc++/bits/std_iosfwd.h:43: forward declaration of `class char_traits<__wchar_t>'
make[2]: *** [ios.lo] Error 1
make[2]: Leaving directory `/tools/contrib/gen/src/bld-stdc++/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tools/contrib/gen/src/bld-stdc++'
make: *** [all-recursive-am] Error 2
Best Regards!
Marc
--
Marc Girod Hiomo 5/1 Voice: +358-9-511 23746
Nokia Telecommunications P.O. Box 320 Mobile: +358-40-569 7954
NWS/NMS/NMS for Data 00045 NOKIA Group Fax: +358-9-511 23580
Finland girod@shire.ntc.nokia.com