gcc fixes

This commit is contained in:
Enno Rehling 2009-05-18 22:14:16 +00:00
parent 93dbfa0cec
commit 98f8f1a1f8
2 changed files with 2 additions and 1 deletions

View File

@ -70,7 +70,7 @@ if $(PROFILE) = 1 {
LINKFLAGS += -pg -ggdb ;
}
CCFLAGS += -Wall ;
CCFLAGS += -Wall -Wno-unknown-pragmas ;
CCFLAGS += -Wwrite-strings
-Wundef

View File

@ -23,6 +23,7 @@ extern "C" {
char * value;
} rule;
struct archetype;
typedef int (*archetype_function)(struct unit * u, const struct archetype *, int);
typedef struct archetype {