New to Warning fixing
Neil Booth
neil@daikokuya.demon.co.uk
Sun Sep 23 23:34:00 GMT 2001
jaya kumaran wrote:-
> Hi,
>
> I'm new to warning fixing using gcc. When i use the following
>
> gcc -c -g -Wall -pedantic -DUNIX=1 -DUNIX_VER=1 -DRFCC_FIXED_C -I".." <file Name>.c
>
> I'm getting a list of warnings. Anybody know how to prioritize the warnings that are obtained and fix it efficiently. Any suggetsion is most welcome
Depending on what you're doing, I'd start by removing -pedantic; the
remaining warnings are probably the most important. Then add -pedantic back,
and try to remove the rest.
Neil.
More information about the Gcc-bugs
mailing list