On Mon, Apr 09, 2007 at 09:40:35PM +0200, Dennis Schridde wrote: > Extra warnings are nearly all unused parameter related, > only a few are caused by signed/unsigned comparisons: > > resource_parser.y: warning: conflicting outputs to file > `resource_parser.tab.h' > strres_parser.y: warning: conflicting outputs to file `strres_parser.tab.h' > conflicts: 284 shift/reduce, 11 reduce/reduce > script_parser.y: warning: conflicting outputs to file `script_parser.tab.h' > chat_parser.y:234.8-11: warning: symbol _T_A redeclared > conflicts: 69 shift/reduce, 36 reduce/reduce > chat_parser.y: warning: conflicting outputs to file `chat_parser.tab.h' > script_lexer.lex.c: In function ‘yy_get_next_buffer’: > script_lexer.lex.c:2196: warning: comparison between signed and unsigned > conflicts: 284 shift/reduce, 11 reduce/reduce > chat_parser.y:234.8-11: warning: symbol _T_A redeclared > conflicts: 69 shift/reduce, 36 reduce/reduce > dec130.c:25: warning: unused parameter ‘rpl’ > dec130.c:25: warning: unused parameter ‘_in’ > dec130.c:26: warning: unused parameter ‘in_size’ > dec130.c:26: warning: unused parameter ‘out’
... There should be a -Wno-unused-parameter which can be used with -Wextra to supress there and get the rest nethertheless. For the other warnings/error discussion. I would suggest fixing the warning which are directly errors (interger vs. void* casting) and the bad style habits, (discarding const, implicit functions) and when these have been fixed perhaps enable the corresponding warning generating options unconditionally. Stefan _______________________________________________ Warzone-dev mailing list [email protected] https://mail.gna.org/listinfo/warzone-dev
