diff options
author | Andy Lester <andy@petdance.com> | 2005-05-19 07:32:56 -0500 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-05-20 07:53:46 +0000 |
commit | 0dbb1585a715e56312e579a5f0e7f82241b38352 (patch) | |
tree | 7d159917164aa7ac921935b3fbff5b5d86aec0c7 /Porting/pumpkin.pod | |
parent | 78b9063ba31cc2a48b78683b758601c04e4eb340 (diff) | |
download | perl-0dbb1585a715e56312e579a5f0e7f82241b38352.tar.gz |
Attribute configuration
Message-ID: <20050519173256.GA29039@petdance.com>
p4raw-id: //depot/perl@24508
Diffstat (limited to 'Porting/pumpkin.pod')
-rw-r--r-- | Porting/pumpkin.pod | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/Porting/pumpkin.pod b/Porting/pumpkin.pod index ff1e5bd5f9..37e68f89ea 100644 --- a/Porting/pumpkin.pod +++ b/Porting/pumpkin.pod @@ -711,45 +711,6 @@ branches. =head2 Other tests -=over 4 - -=item CHECK_FORMAT - -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. - -As of change 23767, CHECK_FORMAT changes perl-defined formats -to obscure (but standard) formats, and then traps the obscure -format. The resulting perl executable operates properly but -you should not use the executable produced by this process. - -=over 4 - -=item * - -A more accurate approach is the following commands: - - make clean - make all OPTIMIZE='-DCHECK_FORMAT -Wformat' >& make.log - perl -nwe 'print if /^\S+:/ and not /^make\b/' make.log - -=item * - -A more thorough approach to compiler warnings is - - make clean - make miniperl OPTIMIZE=-O\ -DCHECK_FORMAT >& make.log - make all OPTIMIZE=-O\ -DCHECK_FORMAT\ -Wall\ -Wno-unused\ - -Wno-uninitialized >>& make.log - perl -nwe 'print if /^\S+:/ and not /^make\b/' make.log - -=back - -(-Wformat support by Robin Barker.) - =item gcc -ansi -pedantic Configure -Dgccansipedantic [ -Dcc=gcc ] will enable (via the cflags script, |