follow-up
Revert the sys/unix/hints/include/compiler.370 for now while a couple of warnings still exist in role.c
This commit is contained in:
@@ -472,7 +472,8 @@ const struct instance_globals g_init = {
|
||||
UNDEFINED_VALUE, /* n_loc_filled */
|
||||
|
||||
/* mkmaze.c */
|
||||
{ {COLNO, ROWNO, 0, 0}, {COLNO, ROWNO, 0, 0} }, /* bughack */
|
||||
{ {COLNO, ROWNO, 0, 0}, {COLNO, ROWNO, 0, 0},
|
||||
FALSE, FALSE, 0, 0, { 0 } }, /* bughack */
|
||||
UNDEFINED_PTR, /* bbubbles */
|
||||
UNDEFINED_PTR, /* ebubbles */
|
||||
UNDEFINED_PTR, /* wportal */
|
||||
|
||||
@@ -51,7 +51,7 @@ endif # clang
|
||||
#CXX=clang++ -std=gnu++11
|
||||
|
||||
CFLAGS=$(CCFLAGS) -I../include -DNOTPARMDECL
|
||||
CFLAGS+=-Wall -Wextra \
|
||||
CFLAGS+=-Wall -Wextra -Wno-missing-field-initializers \
|
||||
-Wreturn-type -Wunused -Wformat -Wswitch -Wshadow -Wwrite-strings
|
||||
CFLAGS+=-pedantic
|
||||
CFLAGS+=-Wmissing-declarations
|
||||
@@ -67,7 +67,7 @@ CFLAGS+=-Wold-style-definition
|
||||
CFLAGS+=-Wstrict-prototypes
|
||||
|
||||
CCXXFLAGS = -g -I../include -DNOTPARMDECL
|
||||
CCXXFLAGS+=-Wall -Wextra \
|
||||
CCXXFLAGS+=-Wall -Wextra -Wno-missing-field-initializers \
|
||||
-Wreturn-type -Wunused -Wformat -Wswitch -Wshadow -Wwrite-strings
|
||||
CCXXFLAGS+=-pedantic
|
||||
CCXXFLAGS+=-Wmissing-declarations
|
||||
|
||||
Reference in New Issue
Block a user