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:
d2d4920
)
-Wendif-labels is actually the default.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Wed, 18 Jun 2014 13:06:26 +0000
(09:06 -0400)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Wed, 18 Jun 2014 18:14:28 +0000
(14:14 -0400)
Has been AFAICT for years / always, the documentation just
had it wrong in pre-4.0 gccs.
cflags.SH
patch
|
blob
|
blame
|
history
diff --git
a/cflags.SH
b/cflags.SH
index
21f1bbb
..
abf721f
100755
(executable)
--- 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 \
- -W
endif-labels -W
c++-compat -Wwrite-strings
+ -Wc++-compat -Wwrite-strings
do
case " $ccflags " in
*" $opt "*) ;; # Skip if already there.