from time to time i do a little warning patrol in parrot and configure
with --ccwarn=-Werror.
Only a few fixes in imcc are needed to compile warning-free, most of
them are unused parameters and variables.
I know IMCC is under heavy development right now so I will not comit
these fixes but only send them to the list as a suggestion.
bye
bö
Nethertheless I'd suggest to apply such patches[1] immediately[2]. It
could cause small rediffs[3] for people working on these files with
little impact. If one get hit she might consider to fix these warnings
in the first place next time ;-)
A clean running make not cluttered with tons of warnings gives a more
confidental feeling for the quality of the project and just looks
better.
> bye
> b=F6
[1] huge white-space-only changing fixes are not in that category
[2] the part in pbc.c was fixed, when I came along this file today
[3] :h diff helps in vim to achieve this. Emacs has for sure similar
possibilities.
leo
The other removes various unreferenced variables and puts in some explicit
casts, which get rid of some warnings when compiling with VC++ (there's more
to go, but as the patch touches a fair few files I thought it best to send
it in tonight, as I don't know when I'll next get chance to hunt down any
more).
Jonathan
Thanks, applied.
> Jonathan
leo
Applied. Thanks,
> bye
> b=F6
leo