activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nmitt...@apache.org
Subject svn commit: r498395 - /incubator/activemq/activemq-cpp/trunk/activemq-cpp/configure.ac
Date Sun, 21 Jan 2007 16:33:09 GMT
Author: nmittler
Date: Sun Jan 21 08:33:09 2007
New Revision: 498395

URL: http://svn.apache.org/viewvc?view=rev&rev=498395
Log:
[AMQCPP-49] - cleanup of several warnings under cygwin gcc 3.x

Modified:
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/configure.ac

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/configure.ac
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/configure.ac?view=diff&rev=498395&r1=498394&r2=498395
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/configure.ac (original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/configure.ac Sun Jan 21 08:33:09 2007
@@ -93,13 +93,13 @@
 case "${host_os}" in
 
   *darwin* ) ## Mac OS X configuration
-    CXXFLAGS="$CXXFLAGS" 
+    CXXFLAGS="$CXXFLAGS -ansi -pedantic" 
     LIBS="$LIBS"
     ;;
 
   *cygwin* ) ## Cygwin configuration
     # LIBS="-lwinmm -lm";
-    CXXFLAGS="$CXXFLAGS" 
+    CXXFLAGS="$CXXFLAGS -Wno-unused-parameter -Wno-uninitialized" 
     LIBS="$LIBS -lm -lpthread -luuid -lrpcrt4"
     ;;
     
@@ -107,7 +107,7 @@
     AC_CHECK_LIB(pthread, pthread_create,[have_pthread="yes"],
                 AC_MSG_ERROR([libpthread not found!]))
 
-    CXXFLAGS="$CXXFLAGS"
+    CXXFLAGS="$CXXFLAGS -ansi -pedantic"
     LIBS="$LIBS -lm -lpthread -luuid -lsocket -lrt"
     ;;
     
@@ -116,7 +116,7 @@
     AC_CHECK_LIB(pthread, pthread_create,[have_pthread="yes"],
                 AC_MSG_ERROR([libpthread not found!]))
 
-    CXXFLAGS="$CXXFLAGS" 
+    CXXFLAGS="$CXXFLAGS -ansi -pedantic" 
     LIBS="$LIBS -lm -lpthread -luuid"
 esac
 



Mime
View raw message