diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-08-10 20:14:28 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-08-10 20:14:28 +0000 |
commit | 506c03b266d78b00129543635789e26faa9166fb (patch) | |
tree | 17a0f1b51be4f84ebc7749cb869d5de4c61bb759 /Porting | |
parent | 2affe78f01f9cd3aae1b214beb9140e1fe830c7d (diff) | |
download | perl-506c03b266d78b00129543635789e26faa9166fb.tar.gz |
Clarify the format checking instructions.
p4raw-id: //depot/perl@20604
Diffstat (limited to 'Porting')
-rw-r--r-- | Porting/pumpkin.pod | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Porting/pumpkin.pod b/Porting/pumpkin.pod index e397b1f4ec..12c524c2f3 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<Configure> with -S<-Dccflags='-DCHECK_FORMAT -Wformat'> and run C<make>. 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<Configure> with S<-Dccflags='-DCHECK_FORMAT +-Wformat'> (and S<-Dcc=gcc>, if you are not on a system where C<cc> +is C<gcc>) and run C<make>. 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: |