This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: hpux10.20 works, kindof


>>>>> "BK" == Benjamin Kosnik <bkoz@cygnus.com> writes:

BK> ...but not with wchar_t. You'll need to edit the bits/c++config.h file to
BK> undefine _G_USE_WCHAR_T macro for now. And use today's cvs sources.

I did it only today, but I get only as far as:

...

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

Some missing guards, I suppose...

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]