more warning cleanup (trunk only)
More warning bits that never got committed. More appropriate compiler flags for warning checks (macosx only for the moment). The changes in dgn*[lc] just rename line_number to nh_line_number to avoid a clash, so no need to regenerate the lex output.
This commit is contained in:
@@ -54,7 +54,7 @@ struct termios termio;
|
||||
struct termio termio;
|
||||
# endif
|
||||
# endif
|
||||
# ifdef AMIX
|
||||
# if defined(AMIX) || defined(__APPLE__)
|
||||
#include <sys/ioctl.h>
|
||||
# endif /* AMIX */
|
||||
#endif
|
||||
|
||||
@@ -44,6 +44,9 @@ GAMEUID = games
|
||||
GAMEGRP = $(GAMEUID)
|
||||
|
||||
|
||||
#CC=gcc -W -Wimplicit -Wreturn-type -Wunused -Wformat -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -DGCC_WARN
|
||||
CC=gcc -Wall -Wextra -Wno-missing-field-initializers -Wimplicit -Wreturn-type -Wunused -Wformat -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -DGCC_WARN
|
||||
|
||||
#
|
||||
# You shouldn't need to change anything below here.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user