develooper Front page | perl.perl5.porters | Postings from May 2001

Re: Making perl with -Wall

Thread Previous | Thread Next
Jarkko Hietaniemi
May 24, 2001 08:38
Re: Making perl with -Wall
Message ID:
The attributes-unused code is now in; would someone take the task of
cleaning up the other warnings before I add -Wall to the default gcc
flags?  I remember looking at the gcc -Wall warnings before; sometimes
you have to be careful because the code might be something like

	int foo;
	#ifdef USE_BAR
	foo = ...;
and unless you Configured with -Dusebar, the foo will look like unused,
so one will need to move the declaration, and since this is C, also
create new blocks to host the declarations.

$jhi++; #
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About