Closed PherricOxide closed 11 years ago
Only:
lex.c:1828:17: warning: ‘yyunput’ defined but not used [-Wunused-function]
lex.c:1869:16: warning: ‘input’ defined but not used [-Wunused-function]
Seems to remain
Fixed the lex.c compiler warnings in fb8945787fe54c761755ad5b21b1c1be13ce8025
According to our coding style, we try to have a no compiler warning policy (with a few exceptions).
Current warnings follow,
lex.c warnings can be ignored IF they can't be prevented by editing lex.l (since lex.c is auto generated and shouldn't be manually modified).
This probably needs some checking if fgets returns an error.
Most of the other warnings are just from using printf with the wrong formatting string. size_t should be formatted with "%z" and long unsigned int should be formatted with "%lu" I believe.