diff options
author | Steve Peters <steve@fisharerojo.org> | 2007-03-21 22:44:10 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2007-03-21 22:44:10 +0000 |
commit | c94db568e030a227855e08f584b1bff860be0cf5 (patch) | |
tree | 7fd13e7deff75dc3252e989cad9de92d8737c04a /cflags.SH | |
parent | 8ad94821f051a942e9998c251cdd5a5b1f4b681f (diff) | |
download | perl-c94db568e030a227855e08f584b1bff860be0cf5.tar.gz |
Make gcc warn in case code is not C++ compatible.
p4raw-id: //depot/perl@30672
Diffstat (limited to 'cflags.SH')
-rwxr-xr-x | cflags.SH | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -119,7 +119,7 @@ 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 -pedantic -std=c89 -W -Wextra -Wdeclaration-after-statement -Wendif-labels +*) for opt in -ansi -pedantic -std=c89 -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat do case " $ccflags " in *" $opt "*) ;; # Skip if already there. |