From fae2e96056d70d1922a44b0166c5c36a43da092d Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Wed, 18 Jun 2014 09:06:26 -0400 Subject: [PATCH] -Wendif-labels is actually the default. Has been AFAICT for years / always, the documentation just had it wrong in pre-4.0 gccs. --- cflags.SH | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cflags.SH b/cflags.SH index 21f1bbb..abf721f 100755 --- a/cflags.SH +++ b/cflags.SH @@ -164,7 +164,7 @@ Intel*) ;; # # Is that you, Intel C++? # since -std=c89 -pedantic implies the -Werror=... *) for opt in -ansi -std=c89 -W -Wextra \ -Werror=declaration-after-statement \ - -Wendif-labels -Wc++-compat -Wwrite-strings + -Wc++-compat -Wwrite-strings do case " $ccflags " in *" $opt "*) ;; # Skip if already there. -- 1.8.3.1