summaryrefslogtreecommitdiff
path: root/pod/perlhacktips.pod
diff options
context:
space:
mode:
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2017-08-08 11:40:25 +0100
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2017-08-17 12:42:17 +0100
commit2884c977bbe7d4e57be3847ffccf17de935bc6c4 (patch)
tree422bb64c4acd502cf5bf757fef45a2c5ba0df57a /pod/perlhacktips.pod
parentf649c622bbf0c42d2c847fc7704db9c435527e3f (diff)
downloadperl-2884c977bbe7d4e57be3847ffccf17de935bc6c4.tar.gz
Update perlhacktips about default gcc warning flags
Diffstat (limited to 'pod/perlhacktips.pod')
-rw-r--r--pod/perlhacktips.pod12
1 files changed, 10 insertions, 2 deletions
diff --git a/pod/perlhacktips.pod b/pod/perlhacktips.pod
index d80c69e3ae..eef21cad45 100644
--- a/pod/perlhacktips.pod
+++ b/pod/perlhacktips.pod
@@ -1106,7 +1106,7 @@ being a prime example). If Configure C<-Dgccansipedantic> is used, the
C<cflags> frontend selects C<-ansi -pedantic> for the platforms where
they are known to be safe.
-Starting from Perl 5.9.4 the following extra flags are added:
+The following extra flags are added:
=over 4
@@ -1120,7 +1120,15 @@ C<-Wextra>
=item *
-C<-Wdeclaration-after-statement>
+C<-Wc++-compat>
+
+=item *
+
+C<-Wwrite-strings>
+
+=item *
+
+C<-Werror=declaration-after-statement>
=back