summaryrefslogtreecommitdiff
path: root/cflags.SH
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2020-01-07 09:46:01 +1100
committerTony Cook <tony@develop-help.com>2020-01-07 09:46:32 +1100
commitdc9f0093cf755efb408057b656e796c910585e2e (patch)
tree528bf9308a771e5b10fa4cc49803818d79d0a1e0 /cflags.SH
parent5c2513ee9ccdbcd8f69eeeecf52f3b3d9e1ab107 (diff)
downloadperl-dc9f0093cf755efb408057b656e796c910585e2e.tar.gz
properly quote the definition of warns
Diffstat (limited to 'cflags.SH')
-rwxr-xr-xcflags.SH4
1 files changed, 2 insertions, 2 deletions
diff --git a/cflags.SH b/cflags.SH
index 90bf7057b5..96bfcd928b 100755
--- a/cflags.SH
+++ b/cflags.SH
@@ -178,10 +178,10 @@ Intel*) ;; # # Is that you, Intel C++?
# -std=c89 before -ansi
# -pedantic* before -Werror=d-a-s
#
-*) warns=-std=c89 -ansi $pedantic \
+*) warns="-std=c89 -ansi $pedantic \
-Werror=pointer-arith \
-Wextra -W \
- -Wc++-compat -Wwrite-strings
+ -Wc++-compat -Wwrite-strings"
# declaration after statement is normal in C++ rather than an
# extension and compilers complain if we try to warn about it
case "$d_cplusplus" in