From: Rafael Garcia-Suarez Date: Tue, 12 Jan 2010 06:52:53 +0000 (+0100) Subject: The "illegalproto" warning category is new in 5.11.4, not 5.11.3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cabbd591480901b0dcc086d0e0f21cb66b436b87;p=p5sagit%2Fp5-mst-13.2.git The "illegalproto" warning category is new in 5.11.4, not 5.11.3 --- diff --git a/pod/perl5113delta.pod b/pod/perl5113delta.pod index bee6697..9ef367d 100644 --- a/pod/perl5113delta.pod +++ b/pod/perl5113delta.pod @@ -440,27 +440,8 @@ longer causes a bus error if run multiple times. [perl #71076] =item * -The two warnings : - - Illegal character in prototype for %s : %s - Prototype after '%c' for %s : %s - -have been moved from the C top-level warnings category into a new -first-level category, C. These two warnings are currently the -only ones emitted during parsing of an invalid/illegal prototype, so one -can now do - - no warnings 'illegalproto'; - -to suppress only those, but not other syntax-related warnings. Warnings where -prototypes are changed, ignored, or not met are still in the C -category as before. (Matt S. Trout) - -=item * - C now warns when called in void context - =item * C-style functions called with too few arguments will now issue the diff --git a/pod/perl5114delta.pod b/pod/perl5114delta.pod index 4b49e81..d90c638 100644 --- a/pod/perl5114delta.pod +++ b/pod/perl5114delta.pod @@ -137,13 +137,25 @@ XXX =head1 New or Changed Diagnostics -XXX New or changed warnings emitted by the core's C code go here. - =over 4 -=item C +=item New warning category C -XXX +The two warnings : + + Illegal character in prototype for %s : %s + Prototype after '%c' for %s : %s + +have been moved from the C top-level warnings category into a new +first-level category, C. These two warnings are currently the +only ones emitted during parsing of an invalid/illegal prototype, so one +can now do + + no warnings 'illegalproto'; + +to suppress only those, but not other syntax-related warnings. Warnings where +prototypes are changed, ignored, or not met are still in the C +category as before. (Matt S. Trout) =back