From 39e5ef41a8d6efee0966e7d2cf2d1fad4e76d340 Mon Sep 17 00:00:00 2001 From: mquinson Date: Fri, 1 Jul 2005 20:21:33 +0000 Subject: [PATCH 1/1] move comments around so that they don't induce a syntax error in the generated configure script git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1522 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- acmacro/compiler-flags.m4 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/acmacro/compiler-flags.m4 b/acmacro/compiler-flags.m4 index f6f962adab..eadecbccb8 100644 --- a/acmacro/compiler-flags.m4 +++ b/acmacro/compiler-flags.m4 @@ -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 -- 2.20.1