[Jade/OpenJade] g++ 2.95 C++ portability problems

Subject: [Jade/OpenJade] g++ 2.95 C++ portability problems
From: Adam Di Carlo <adam@xxxxxxxxxxx>
Date: 15 Aug 1999 02:42:28 -0400
Neither OpenJade nor Jade are compiling properly after I have
installed the new gcc/g++ 2.95 toolchain.  For those who don't follow
egcs/gcc very closely, egcs is basically merging into gcc 3.0, so gcc
2.95 is basically egcs 1.2.x renamed.  They are merging in some of the
later cycle gcc 2.8 changes and then egcs will go away (I guess) and
morph into gcc 3.0.

Anyhow, gcc/g++ 2.95 is a bit more strict about C++.  I'm going to dig
around, but pray for me since I'm not a C++ hacker.

--
.....Adam Di Carlo....adam@xxxxxxxxxxxxxxxx<URL:http://www.onShore.com/>

c++ -O2 --pipe -D_REENTRANT -fno-implicit-templates -I. -I./../include -I./../generic -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -Dconst= -Dinline= -DHAVE_ST_BLKSIZE=1 -DSP_HAVE_BOOL=1 -DSP_HAVE_LOCALE=1 -DSP_ANSI_CLASS_INST=1 -DSP_HAVE_SOCKET=1 -DJADE_MIF=1 -DJADE_HTML=1 -DSP_MULTI_BYTE=1 -DSGML_CATALOG_FILES_DEFAULT=\"/usr/local/share/sgml/catalog:/usr/local/lib/sgml/catalog:/usr/lib/sgml/catalog\" -DSGML_SEARCH_PATH_DEFAULT=\"/usr/local/share/sgml:/usr/local/lib/sgml:/usr/lib/sgml\" -c  -fPIC -DPIC CharsetInfo.cxx -o .libs/CharsetInfo.lo
In file included from ../include/CharsetInfo.h:11,
                 from CharsetInfo.cxx:8:
../include/Vector.h: In instantiation of `Vector<RangeMapRange<unsigned int,unsigned int> >':
../include/RangeMap.h:27:   instantiated from `RangeMap<unsigned int,unsigned int>'
../include/UnivCharsetDesc.h:73:   instantiated from here
../include/Vector.h:50: `Vector<RangeMapRange<unsigned int,unsigned int> >::operator [](unsigned int)' has already been declared in `Vector<RangeMapRange<unsigned int,unsigned int> >'
../include/Vector.h:52: `Vector<RangeMapRange<unsigned int,unsigned int> >::begin()' has already been declared in `Vector<RangeMapRange<unsigned int,unsigned int> >'
../include/Vector.h:54: `Vector<RangeMapRange<unsigned int,unsigned int> >::back()' has already been declared in `Vector<RangeMapRange<unsigned int,unsigned int> >'
In file included from ../include/StringOf.h:15,
                 from ../include/StringC.h:8,
                 from ../include/CharsetInfo.h:14,
                 from CharsetInfo.cxx:8:
/usr/include/string.h:247: parse error before `('
/usr/include/string.h:248: parse error before `('
../include/Vector.h: In instantiation of `Vector<ISetRange<unsigned int> >':
../include/ISet.h:25:   instantiated from `ISet<unsigned int>'
CharsetInfo.cxx:89:   instantiated from here
../include/Vector.h:50: `Vector<ISetRange<unsigned int> >::operator [](unsigned int)' has already been declared in `Vector<ISetRange<unsigned int> >'
../include/Vector.h:52: `Vector<ISetRange<unsigned int> >::begin()' has already been declared in `Vector<ISetRange<unsigned int> >'
../include/Vector.h:54: `Vector<ISetRange<unsigned int> >::back()' has already been declared in `Vector<ISetRange<unsigned int> >'


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread