[MOAB-dev] r5951 - MOAB/trunk/config

vijaysm at mcs.anl.gov vijaysm at mcs.anl.gov
Tue Jan 22 15:17:27 CST 2013


Author: vijaysm
Date: 2013-01-22 15:17:27 -0600 (Tue, 22 Jan 2013)
New Revision: 5951

Modified:
   MOAB/trunk/config/compiler.m4
Log:
Disable some more diagnostic warnings for Intel compilers.

1) -wd279  = remark #279: controlling expression is constant
   http://software.intel.com/en-us/articles/cdiag279
2) -wd1418 = Diagnostic 1418: external function definition with no prior declaration
   http://software.intel.com/en-us/articles/cdiag1418



Modified: MOAB/trunk/config/compiler.m4
===================================================================
--- MOAB/trunk/config/compiler.m4	2013-01-22 21:04:22 UTC (rev 5950)
+++ MOAB/trunk/config/compiler.m4	2013-01-22 21:17:27 UTC (rev 5951)
@@ -388,7 +388,7 @@
   Intel:*)
     FATHOM_CXX_32BIT=-m32
     FATHOM_CXX_64BIT=-m64
-    FATHOM_CXX_SPECIAL="$EXTRA_INTEL_FLAGS -wd981 -wd383 -wd1572 -wd2259"
+    FATHOM_CXX_SPECIAL="$EXTRA_INTEL_FLAGS -wd981 -wd279 -wd1418 -wd383 -wd1572 -wd2259"
     ;;
   VisualAge:*)
     FATHOM_CXX_32BIT=-q32
@@ -507,7 +507,7 @@
   Intel:*)
     FATHOM_CC_32BIT=-m32
     FATHOM_CC_64BIT=-m64
-    FATHOM_CC_SPECIAL="$EXTRA_INTEL_FLAGS -wd981 -wd383 -wd1572"
+    FATHOM_CC_SPECIAL="$EXTRA_INTEL_FLAGS -wd981 -wd279 -wd1418 -wd383 -wd1572"
     ;;
   GNU:mips*)
     FATHOM_CC_32BIT="-mips32 -mabi=32"
@@ -660,4 +660,4 @@
 else
     ifelse([$2],[],[:],[$2])
 fi
-])
\ No newline at end of file
+])



More information about the moab-dev mailing list