This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ad9482
)
Make gcc warn in case code is not C++ compatible.
author
Steve Peters
<steve@fisharerojo.org>
Wed, 21 Mar 2007 22:44:10 +0000
(22:44 +0000)
committer
Steve Peters
<steve@fisharerojo.org>
Wed, 21 Mar 2007 22:44:10 +0000
(22:44 +0000)
p4raw-id: //depot/perl@30672
cflags.SH
patch
|
blob
|
blame
|
history
diff --git
a/cflags.SH
b/cflags.SH
index
fe4bacc
..
8f9c249
100755
(executable)
--- a/
cflags.SH
+++ b/
cflags.SH
@@
-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.