diff --git a/src/Jamrules b/src/Jamrules index abd557aa7..84b154265 100644 --- a/src/Jamrules +++ b/src/Jamrules @@ -70,7 +70,7 @@ if $(PROFILE) = 1 { LINKFLAGS += -pg -ggdb ; } -CCFLAGS += -Wall ; +CCFLAGS += -Wall -Wno-unknown-pragmas ; CCFLAGS += -Wwrite-strings -Wundef diff --git a/src/common/gamecode/archetype.h b/src/common/gamecode/archetype.h index cf5187fa3..358946ccd 100644 --- a/src/common/gamecode/archetype.h +++ b/src/common/gamecode/archetype.h @@ -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 {