[cgma-dev] r2164 - cgm/trunk
kraftche at mcs.anl.gov
kraftche at mcs.anl.gov
Mon Oct 20 15:34:01 CDT 2008
Author: kraftche
Date: 2008-10-20 15:34:01 -0500 (Mon, 20 Oct 2008)
New Revision: 2164
Modified:
cgm/trunk/configure.in
Log:
add -pedantic flag for GNU compiler, and work-around for errors in ACIS headers with flag
Modified: cgm/trunk/configure.in
===================================================================
--- cgm/trunk/configure.in 2008-10-20 20:33:32 UTC (rev 2163)
+++ cgm/trunk/configure.in 2008-10-20 20:34:01 UTC (rev 2164)
@@ -6,7 +6,7 @@
AM_INIT_AUTOMAKE(CGMA,10.2.2)
AC_DISABLE_SHARED
-EXTRA_GNU_FLAGS="-Wall -pipe"
+EXTRA_GNU_FLAGS="-Wall -pipe -pedantic"
SNL_CHECK_COMPILERS
AC_PROG_FC
AM_CONDITIONAL(build_parallel, [test "x$WITH_MPI" != "xno"])
@@ -190,6 +190,9 @@
ACIS_LINK_FLAGS='-L$(ACIS_LIB_DIR)'
ACIS_HEALER="-DACIS_HEALER"
ACIS_INCLUDES="-I$ACIS_DIR/include"
+ if test "x$GXX" = "xyes"; then
+ CPPFLAGS="$CPPFLAGS -isystem $ACIS_DIR/include"
+ fi
ACIS_DEFS='$(ACIS_STEP_TRANSLATOR) $(ACIS_IGES_TRANSLATOR) -DCUBIT_ACIS_VERSION=$(ACIS_VERSION) -DACIS_VERSION=$(ACIS_VERSION) -D$(ACIS_PLATFORM) -DACIS_LOCAL_OPS'
dnl AC_DEFINE( HAVE_ACIS )
HAVE_ACIS_DEF=-DHAVE_ACIS
More information about the cgma-dev
mailing list