hi,
i decided to rebuild on cvs today, and although it did build, the
compilation gave me loads of warnings, and since i was really bored, i
took a look at them.
while i fixed (what i call 'fix' ... ;) some of them and produce some
patches, the dozens others remain and i cannot fix them because i don;'t
understand them, they seem plain wrong.
those i could fix were some with unused variables (forgotten somehow)
and some with using ints before initialization that i explicitly set to
0, and some chars used as integers casting problem.
but sometimes it just complains about ints used before initialization
and even setting them to any value does not fix the warning, sometimes
the initialization is a macro in the declaration and although it _is_
initialized, it just does not get it.
to me it seems broken or i gave it a wrong option (and it is by default
because i did not give any option)
and in the end i even wondered if my 10-20 warnings fix were valid
because the ones remaining seemd unjustified.
what should i do, or is it normal to get dozens of :
window.c: In function `window_loop':
window.c:2409: warning: `w' might be used uninitialized in this function
window.c:2411: warning: `next_window' might be used uninitialized in
this function
window.c:2412: warning: `last_window' might be used uninitialized in
this function
window.c:2413: warning: `frame' might be used uninitialized in this
function
window.c:2420: warning: `devcons' might be used uninitialized in this
function
window.c:2420: warning: `concons' might be used uninitialized in this
function
window.c:2443: warning: `obj' might be used uninitialized in this
function
window.c:2445: warning: `obj' might be used uninitialized in this
function
window.c:2477: warning: `obj' might be used uninitialized in this
function
window.c:2478: warning: `obj' might be used uninitialized in this
function
window.c:2551: warning: `obj' might be used uninitialized in this
function
window.c:2571: warning: `obj' might be used uninitialized in this
function
window.c:2647: warning: `obj' might be used uninitialized in this
function
window.c:2688: warning: `obj' might be used uninitialized in this
function
(example)
in a lot of files ?
thanx for making me smarter by answering :)
--
# Stef Epardaud, # There is no limit to the power of computing ...
# Java Defeater # ... except men maybe ?
# Rotterdam # Lunatech Research,
# NETHERLANDS # soon we will drop the searching for the finding...
# #