mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 14:12:36 +00:00
-Wassign-function-types - since in qcc you may assign functionpointers which take different parameters...
This commit is contained in:
parent
f56c5f425a
commit
8ed6676d0f
2 changed files with 2 additions and 0 deletions
1
main.c
1
main.c
|
@ -408,6 +408,7 @@ int main(int argc, char **argv) {
|
|||
options_set(opts_warn, WARN_UNUSED_VARIABLE, true);
|
||||
options_set(opts_warn, WARN_EFFECTLESS_STATEMENT, true);
|
||||
options_set(opts_warn, WARN_END_SYS_FIELDS, true);
|
||||
options_set(opts_warn, WARN_ASSIGN_FUNCTION_TYPES, true);
|
||||
|
||||
if (!options_parse(argc, argv)) {
|
||||
return usage();
|
||||
|
|
|
@ -18,3 +18,4 @@ GMQCC_DEFINE_FLAG(VARIADIC_FUNCTION)
|
|||
GMQCC_DEFINE_FLAG(FRAME_MACROS)
|
||||
GMQCC_DEFINE_FLAG(EFFECTLESS_STATEMENT)
|
||||
GMQCC_DEFINE_FLAG(END_SYS_FIELDS)
|
||||
GMQCC_DEFINE_FLAG(ASSIGN_FUNCTION_TYPES)
|
||||
|
|
Loading…
Reference in a new issue