This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In gv_autoload4(), ensure set magic is called on $...::AUTOLOAD if necessary.
[perl5.git] / cflags.SH
old mode 100644 (file)
new mode 100755 (executable)
index a5d71b9..f57cf2f
--- a/cflags.SH
+++ b/cflags.SH
@@ -134,7 +134,8 @@ case "$gccversion" in
 '') ;;
 [12]*) ;; # gcc versions 1 (gasp!) and 2 are not good for this.
 Intel*) ;; # # Is that you, Intel C++?
-*)  for opt in -ansi -std=c89 -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
+*)  for opt in -ansi -std=c89 -W -Wextra -Wdeclaration-after-statement \
+               -Wendif-labels -Wc++-compat -Wwrite-strings
     do
        case " $ccflags " in
        *" $opt "*) ;; # Skip if already there.