X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/ff906f87ce1519416ddfff76ae8e1d8fa42ed082..de61950ae56ef8b3703b4fd7a5fd7fea866f893c:/cflags.SH diff --git a/cflags.SH b/cflags.SH old mode 100644 new mode 100755 index a5d71b9..f57cf2f --- a/cflags.SH +++ b/cflags.SH @@ -134,7 +134,8 @@ case "$gccversion" in '') ;; [12]*) ;; # gcc versions 1 (gasp!) and 2 are not good for this. Intel*) ;; # # Is that you, Intel C++? -*) for opt in -ansi -std=c89 -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat +*) for opt in -ansi -std=c89 -W -Wextra -Wdeclaration-after-statement \ + -Wendif-labels -Wc++-compat -Wwrite-strings do case " $ccflags " in *" $opt "*) ;; # Skip if already there.