summaryrefslogtreecommitdiff
path: root/cflags.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-06-19 17:55:34 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-06-19 17:56:35 -0400
commit49c603439de54d733209477fc765b032145187a1 (patch)
tree66703d56069a4720ab683c62f819ab4c7267664f /cflags.SH
parent4f893e616257d6f87d238c8d5d204072ad5a13b3 (diff)
downloadperl-49c603439de54d733209477fc765b032145187a1.tar.gz
In case someone manages to call g++ with -Wc++-compat.
Diffstat (limited to 'cflags.SH')
-rwxr-xr-xcflags.SH1
1 files changed, 1 insertions, 0 deletions
diff --git a/cflags.SH b/cflags.SH
index aa730c6dd0..dbd24b6cda 100755
--- a/cflags.SH
+++ b/cflags.SH
@@ -265,6 +265,7 @@ case "$cc" in
# but we remove it just for cleanliness and shorter command lines.
for f in -Wdeclaration-after-statement \
-Werror=declaration-after-statement \
+ -Wc++-compat \
-std=c89
do
case "$ccflags$warn" in