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

[perl #15907] [PATCH] Make warnings configurable

From:
Jürgen" "Bömmels
Date:
July 31, 2002 16:44
Subject:
[perl #15907] [PATCH] Make warnings configurable
Message ID:
rt-15907-32512.4.52454752269617@perl
# New Ticket Created by  Jürgen Bömmels 
# Please include the string:  [perl #15907]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=15907 >


Hi,

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.

One warning was simple to fix:
A incompatible pointer assignment in coroutine.pmc

The other warnings I found are a little bit more complicated
- nonliteral formats in Parrot_vsprintf_s
- the return value of invoke needs a cast, but the simple solution,
just adding the cast doesn't look right. Maybe change the prototype of
invoke.

bye
boemmels



-- attachment  1 ------------------------------------------------------
url: http://rt.perl.org/rt2/attach/32512/26823/c6326a/remove_warnings.diff




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