develooper Front page | perl.perl6.internals | Postings from August 2002

Re: [perl #15907] [PATCH] Make warnings configurable

From:
Mike Lambert
Date:
August 18, 2002 14:01
Subject:
Re: [perl #15907] [PATCH] Make warnings configurable
Message ID:
Pine.LNX.4.44.0208181658270.14885-100000@jall.org
> In the quest for removing warnings, I added an option --ccwarn to
> Configure.pl. With this option I could selectivly turn on and off
> warnings, and especially compile with -Werror, so I don't miss any
> warnings. The simple warnings (the missing return values) were already
> fixed before I was able to submit a patch.

Looking at the patch, it seems rather GCC-specific. The checking for
"no-X" versus "X" in the warnings flags seems to be rather non-portable to
compilers like MSVC.

Unfortunately, I don't believe this is easily fixable.

Mike Lambert




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About