Subject: Re: [Jade/OpenJade] g++ 2.95 C++ portability problems From: Carlos Villegas <cav@xxxxxxxxxxxxxx> Date: Mon, 16 Aug 1999 13:17:23 +0900 |
Adam Di Carlo wrote: > > Neither OpenJade nor Jade are compiling properly after I have > installed the new gcc/g++ 2.95 toolchain. > 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: I also had problems but finally got it to compile with gcc 2.95 on my Linux glibc 2.1 system. I had problems in some of the template instantiation files (*_inst.cxx), something about duplicate instantiations and had to comment out some of them in *_inst.m4. I don't remember this particular problem but I added the flag "-fpermissive" which makes some of the new error messages to produce warnings instead. In addition I removed "-Dconst= -Dinline=". I also added "-fno-strict-aliasing" which is needed to compile the linux kernel and other programs, but don't know if it is really needed here, just to be safe. Regards, Carlos Villegas Uniscope, Inc. DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[Jade/OpenJade] g++ 2.95 C++ portab, Adam Di Carlo | Thread | [PATCH] [Jade/OpenJade] g++ 2.95 C+, Adam Di Carlo |
RE: About DSSSL 2 Specifications, Didier PH Martin | Date | Re: About OpenJade and Debian, Adam Di Carlo |
Month |