You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by nm...@apache.org on 2007/01/21 17:33:09 UTC
svn commit: r498395 -
/incubator/activemq/activemq-cpp/trunk/activemq-cpp/configure.ac
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