diff options
author | Tony Cook <tony@develop-help.com> | 2020-01-07 09:46:01 +1100 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2020-01-07 09:46:32 +1100 |
commit | dc9f0093cf755efb408057b656e796c910585e2e (patch) | |
tree | 528bf9308a771e5b10fa4cc49803818d79d0a1e0 /cflags.SH | |
parent | 5c2513ee9ccdbcd8f69eeeecf52f3b3d9e1ab107 (diff) | |
download | perl-dc9f0093cf755efb408057b656e796c910585e2e.tar.gz |
properly quote the definition of warns
Diffstat (limited to 'cflags.SH')
-rwxr-xr-x | cflags.SH | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |