[LC++]Include problem

Laszlo Boszormenyi boszorme at mazsola.iit.uni-miskolc.hu
Sun Apr 28 01:46:05 UTC 2002


Hi all!

 Ok, I could compile STLPort, but an app does not like the headers. Is it
good if it mixes STL and std? Like:
In file included from unxlngi3.pro/inc/stl/wchar.h:34,
                 from /usr/local/include/bits/std_cwchar.h:42,
                 from unxlngi3.pro/inc/g++-v3/cwchar:31,
                 from unxlngi3.pro/inc/stl/stl/_cwchar.h:31,
                 from unxlngi3.pro/inc/stl/cwchar:24,
                 from unxlngi3.pro/inc/stl/stl/char_traits.h:31,
                 from unxlngi3.pro/inc/stl/stl/_iosfwd.h:22,
                 from unxlngi3.pro/inc/stl/iostream:29,
                 from xml2cmp/source/xcd/main.cxx:62:
/usr/include/wchar.h:46: parse error before `wchar_t'
/usr/include/wchar.h:48: `mbstate_t' not declared
/usr/include/wchar.h:75: `wcstod' not declared
/usr/include/wchar.h:76: `wcstof' not declared
/usr/include/wchar.h:77: `wcstold' not declared
/usr/include/wchar.h:78: `wcstol' not declared
/usr/include/wchar.h:79: `wcstoll' not declared
/usr/include/wchar.h:80: `wcstoul' not declared

I was playing with include_next, as otherwise wchar.h was not found at
all.

Thanks for any help in advance,
Laszlo





More information about the tuxCPProgramming mailing list