From: Jarkko Hietaniemi Date: Sun, 10 Aug 2003 20:14:28 +0000 (+0000) Subject: Clarify the format checking instructions. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=506c03b266d78b00129543635789e26faa9166fb;p=p5sagit%2Fp5-mst-13.2.git Clarify the format checking instructions. p4raw-id: //depot/perl@20604 --- diff --git a/Porting/pumpkin.pod b/Porting/pumpkin.pod index e397b1f..12c524c 100644 --- a/Porting/pumpkin.pod +++ b/Porting/pumpkin.pod @@ -733,11 +733,13 @@ branches. =item CHECK_FORMAT -To test the correct use of printf-style arguments, C with -S<-Dccflags='-DCHECK_FORMAT -Wformat'> and run C. The compiler -will produce warning of incorrect use of format arguments. CHECK_FORMAT -changes perl-defined formats to common formats, so DO NOT USE the executable -produced by this process. +If you have gcc, you can test the correct use of printf-style +arguments. Run C with S<-Dccflags='-DCHECK_FORMAT +-Wformat'> (and S<-Dcc=gcc>, if you are not on a system where C +is C) and run C. The compiler will produce warnings of +incorrect use of format arguments. CHECK_FORMAT changes perl-defined +formats to common formats, so DO NOT USE the executable produced by +this process. A more accurate approach is the following commands: