forked from github/server
gcc fixes
This commit is contained in:
parent
93dbfa0cec
commit
98f8f1a1f8
2 changed files with 2 additions and 1 deletions
|
@ -70,7 +70,7 @@ if $(PROFILE) = 1 {
|
||||||
LINKFLAGS += -pg -ggdb ;
|
LINKFLAGS += -pg -ggdb ;
|
||||||
}
|
}
|
||||||
|
|
||||||
CCFLAGS += -Wall ;
|
CCFLAGS += -Wall -Wno-unknown-pragmas ;
|
||||||
|
|
||||||
CCFLAGS += -Wwrite-strings
|
CCFLAGS += -Wwrite-strings
|
||||||
-Wundef
|
-Wundef
|
||||||
|
|
|
@ -23,6 +23,7 @@ extern "C" {
|
||||||
char * value;
|
char * value;
|
||||||
} rule;
|
} rule;
|
||||||
|
|
||||||
|
struct archetype;
|
||||||
typedef int (*archetype_function)(struct unit * u, const struct archetype *, int);
|
typedef int (*archetype_function)(struct unit * u, const struct archetype *, int);
|
||||||
|
|
||||||
typedef struct archetype {
|
typedef struct archetype {
|
||||||
|
|
Loading…
Reference in a new issue