Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
move comments around so that they don't induce a syntax error in the generated config...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 1 Jul 2005 20:21:33 +0000 (20:21 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 1 Jul 2005 20:21:33 +0000 (20:21 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1522 48e7efb5-ca39-0410-a469-dd3cf9ba447f

acmacro/compiler-flags.m4

index f6f962a..eadecbc 100644 (file)
@@ -42,13 +42,14 @@ AC_DEFUN([SG_COMPILE_FLAGS],[
 
       ## -W is not all that useful.  And it cannot be controlled
       ## with individual -Wno-xxx flags, unlike -Wall
+      
+      ## -Wformat=2 chokes on the snprintf replacement because the format is passed to real sprintf
+      ## -Wshadow chokes on try{ try{} } constructs
       if test "x$enable_compile_warnings" = "xyes"; then
         warnCFLAGS=`echo $warnCFLAGS  -Wmissing-prototypes -Wmissing-declarations \
         -Wpointer-arith -Wchar-subscripts -Wcomment -Wformat -Wwrite-strings \
        -Wno-unused-variable -Wno-unused-function -Wno-unused-label \
         -Werror \
-      ## -Wformat=2 chokes on the snprintf replacement because the format is passed to real sprintf
-      ## -Wshadow chokes on try{ try{} } constructs
        | sed 's/ +/ /g'`
       fi
     fi