Update of /cvsroot/monetdb/buildtools/conf
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8171
Modified Files:
Tag: MonetDB_1-18
MonetDB.m4
Log Message:
GCC 4.2 warns about usage of inline when using C99, since GCC 4.3 will
support inline as defined in ISO C99, which is different from the
semantics of inline in GNU89. To suppress the warning, we add
-fgnu89-inline on GCC 4.2, when we arrive at GCC 4.3 we'll have to see
if ISO C99 semantics really cause trouble for us.
Index: MonetDB.m4
===================================================================
RCS file: /cvsroot/monetdb/buildtools/conf/MonetDB.m4,v
retrieving revision 1.16.2.3
retrieving revision 1.16.2.4
diff -u -d -r1.16.2.3 -r1.16.2.4
--- MonetDB.m4 5 Jun 2007 06:13:19 -0000 1.16.2.3
+++ MonetDB.m4 7 Jun 2007 13:50:19 -0000 1.16.2.4
@@ -675,6 +675,14 @@
dnl /usr/include/cygwin/signal.h ...
CFLAGS="$CFLAGS -std=gnu99"
;;
+ 4.2.*-*)
+ dnl gcc 4.2 has a warning on inline functions in C99 mode being
+ dnl made for real in gcc 4.3. We disable the warning and we
+ dnl want to get away for a little while with GNU98 inlining
+ dnl semantics, until gcc 4.3 is within reach to get real ISO C99
+ dnl I think
+ CFLAGS="$CFLAGS -std=c99 -fgnu89-inline"
+ ;;
*-freebsd*|*-irix*|*-darwin*|*-solaris*|[[34]].*-*)
CFLAGS="$CFLAGS -std=c99"
;;
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins