Menu

#195 Build error on HP-UX 11.23 IA-64 with GCC 3.4.4

5.2
open
nobody
5
2008-11-25
2008-11-25
KBac
No

Build error on HP-UX 11.23 IA-64 with GCC 3.4.4.
I think, that this error is connect with definitions _STLP_NO_WCHAR_T, _STLP_NO_CWCHAR in _hpux.h or with _STLP_CPP_MBSTATE_T in _mbstate_t.h.

In file included from ../../stlport/stl/_iosfwd.h:22,
from ../../stlport/stl/_string_fwd.h:23,
from ../../stlport/stl/_string.h:27,
from ../../stlport/string:29,
from ../../src/dll_main.cpp:49:
../../stlport/stl/char_traits.h:127: error: `mbstate_t' was not declared in this scope
../../stlport/stl/char_traits.h:127: error: template argument 1 is invalid
../../stlport/stl/char_traits.h:127: error: ISO C++ forbids declaration of `streampos' with no type
../../stlport/stl/char_traits.h:128: error: `mbstate_t' was not declared in this scope
../../stlport/stl/char_traits.h:128: error: template argument 1 is invalid
../../stlport/stl/char_traits.h:128: error: ISO C++ forbids declaration of `wstreampos' with no type
../../stlport/stl/char_traits.h:138: error: `mbstate_t' does not name a type
../../stlport/stl/char_traits.h:217: error: `mbstate_t' does not name a type
In file included from ../../stlport/locale:38,
from ../../src/dll_main.cpp:52:
../../stlport/stl/_codecvt.h:173: error: `mbstate_t' was not declared in this scope
../../stlport/stl/_codecvt.h:174: error: template argument 3 is invalid
../../stlport/stl/_codecvt.h:174: error: explicit specialization of non-template `<type error>'
../../stlport/stl/_codecvt.h:371: error: `mbstate_t' was not declared in this scope
../../stlport/stl/_codecvt.h:372: error: template argument 3 is invalid
../../stlport/stl/_codecvt.h:372: error: explicit specialization of non-template `<type error>'
../../stlport/stl/_codecvt.h:372: error: `mbstate_t' was not declared in this scope
../../stlport/stl/_codecvt.h:372: error: template argument 3 is invalid
make: *** [obj/gcc/so/dll_main.o] Error 1

Discussion


Log in to post a comment.