mirror of
https://github.com/Perl/perl5.git
synced 2026-01-26 16:39:36 +00:00
properly quote the definition of warns
This commit is contained in:
parent
5c2513ee9c
commit
dc9f0093cf
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user