Subject: [PATCH] [Jade/OpenJade] g++ 2.95 C++ portability problems From: Adam Di Carlo <adam@xxxxxxxxxxx> Date: 16 Aug 1999 02:53:17 -0400 |
Carlos Villegas <cav@xxxxxxxxxxxxxx> writes: > In addition I removed "-Dconst= -Dinline=". This was indeed the cause of the immediate problem. The autoconf tests, AC_C_CONST and AC_C_INLINE do indeed fail in the new system because gcc 2.95 is more militant in C++ support, and moreover, there is a directive in configure.in to use c++ instead of c when testing these features. The included patch to open fixes this problem, which is a bug in the openjade (as well as jade) sources. Note there are other g++ 2.95 problem I am working on. Much thanks to Carlos for the tips; more patches to come. -- .....Adam Di Carlo....adam@xxxxxxxxxxxxxxxx<URL:http://www.onShore.com/> Index: configure.in =================================================================== RCS file: /jadecvs/jade/config/configure.in,v retrieving revision 1.6 diff -u -r1.6 configure.in --- configure.in 1999/07/23 15:50:17 1.6 +++ configure.in 1999/08/16 06:44:40 @@ -51,7 +51,6 @@ then CXXFLAGS="$CXXFLAGS -fno-implicit-templates" fi -AC_LANG_CPLUSPLUS dnl dnl Checks for header files. @@ -75,6 +74,12 @@ then AC_CHECK_TYPE(sig_atomic_t,int) fi + +dnl +dnl the following tests require c++, not c; note that if you switch this +dnl earlier, AC_C_CONST will fail, at least +dnl +AC_LANG_CPLUSPLUS AC_CACHE_CHECK(support for bool, ac_cv_typedef_bool, DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [Jade/OpenJade] g++ 2.95 C++ po, Carlos Villegas | Thread | [PATCH] 2nd patch Re: [Jade/OpenJad, Adam Di Carlo |
Re: About OpenJade and Debian, Adam Di Carlo | Date | Re: Groves processing in OpenJade, Adam Di Carlo |
Month |