All,
I am trying to build the Xerces 2.2 library on Solaris 8 with gcc/g++
version 3.1. When I do this I get the following error:
g++-3.1 -fPIC -DSOLARIS -D_REENTRANT -c
-I/home/hedwig/erapp/dev/xerces/xerces-c-src2_2_0/include -w -O
-DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2
-DPROJ_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER
-DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS
-DXML_USE_NETACCESSOR_SOCKET -o
/home/hedwig/erapp/dev/xerces/xerces-c-src2_2_0/obj/SOLARIS/StdOutFormatTarget.o
StdOutFormatTarget.cpp
In file included from /usr/local/include/g++-v3/bits/std_streambuf.h:529,
from /usr/local/include/g++-v3/bits/std_ios.h:45,
from /usr/local/include/g++-v3/bits/std_ostream.h:39,
from /usr/local/include/g++-v3/bits/std_iostream.h:40,
from /usr/local/include/g++-v3/iostream.h:31,
from StdOutFormatTarget.cpp:83:
/usr/local/include/g++-v3/bits/streambuf.tcc:44: `_Traits::int_type
std::basic_streambuf<_CharT, _Traits>::_S_pback_size' is not a static
member
of `class std::basic_streambuf<_CharT, _Traits>'
/usr/local/include/g++-v3/bits/streambuf.tcc:44: template definition of
non-template `_Traits::int_type std::basic_streambuf<_CharT,
_Traits>::_S_pback_size'
In file included from /usr/local/include/g++-v3/bits/std_ostream.h:278,
from /usr/local/include/g++-v3/bits/std_iostream.h:40,
from /usr/local/include/g++-v3/iostream.h:31,
from StdOutFormatTarget.cpp:83:
/usr/local/include/g++-v3/bits/ostream.tcc:697: explicit instantiation of
non-template `int std::wostream'
/usr/local/include/g++-v3/bits/ostream.tcc:697: parse error before `&'
token
/usr/local/include/g++-v3/bits/ostream.tcc:698: explicit instantiation of
non-template `int std::wostream'
/usr/local/include/g++-v3/bits/ostream.tcc:698: parse error before `&'
token
/usr/local/include/g++-v3/bits/ostream.tcc:699: explicit instantiation of
non-template `int std::wostream'
/usr/local/include/g++-v3/bits/ostream.tcc:699: parse error before `&'
token
/usr/local/include/g++-v3/bits/ostream.tcc:700: explicit instantiation of
non-template `int std::wostream'
/usr/local/include/g++-v3/bits/ostream.tcc:700: parse error before `&'
token
/usr/local/include/g++-v3/bits/ostream.tcc:701: explicit instantiation of
non-template `int std::wostream'
/usr/local/include/g++-v3/bits/ostream.tcc:701: parse error before `&'
token
/usr/local/include/g++-v3/bits/ostream.tcc:702: explicit instantiation of
non-template `int std::wostream'
/usr/local/include/g++-v3/bits/ostream.tcc:702: parse error before `&'
token
/usr/local/include/g++-v3/bits/ostream.tcc:703: explicit instantiation of
non-template `int std::wostream'
/usr/local/include/g++-v3/bits/ostream.tcc:703: parse error before `&'
token
In file included from /usr/local/include/g++-v3/bits/std_istream.h:290,
from /usr/local/include/g++-v3/bits/std_iostream.h:41,
from /usr/local/include/g++-v3/iostream.h:31,
from StdOutFormatTarget.cpp:83:
/usr/local/include/g++-v3/bits/istream.tcc:1225: explicit instantiation of
non-template `int std::wistream'
/usr/local/include/g++-v3/bits/istream.tcc:1225: parse error before `&'
token
/usr/local/include/g++-v3/bits/istream.tcc:1226: explicit instantiation of
Any help on this would be greatly appreciated.
Thanks!!!!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]