Options |
What it does |
-
-l<path> |
Adds <path> to the directories searched by the preprocessor for include file resolution. |
-
-o <file> |
Generates the named executable (progs.src) file (when not specified default is progs.src). |
@@ -76,35 +71,29 @@
-O<level> |
Specfies the optimization level: highest being 3, lowest being 0 (no optimization). |
-
-E |
Instructs the compiler to only preprocess the input, writing the preprocessed output to stdout |
-
-Wall |
Enables all compiled warnings for the selcted standard |
-
-Werror |
Instruct the compiler to treat all warnings as errors |
-
-std=<standard> |
Selects the standard dialect |
-
GMQCC strives hard for compatability with standard dialects, but not all
features of those standards might be implemented. The unsupported features
are presented below:
-
@@ -158,37 +143,30 @@
Option |
What it does |
-
-foverlap-locals |
Reduces codesize by overlapping locals where possible |
-
-fdarkplaces-string-table-bug |
Works around a bug in older Darkplaces engine builds where the stringtable size is computed wrong |
-
-fadjust-vector-fields |
corrects assignment of vector field pointers (STORE_V instead of STORE_FLD) |
-
-fftepp |
Enables FTEQ preprocessor |
-
-frelaxted-switch |
Relaxes switch statement semantics |
-
-fshort-logic |
Enables short circut evaluation/logic |
-
-fperl-logic |
Enables perl evalutaion/logic |
@@ -200,87 +178,70 @@
Option |
What it does |
-
-Wunused-uninitialized |
Enables warnings about unused or uninitialized variables |
-
-Wunknwon-control-sequence |
Enables warnings about unknown control sequences |
-
-Wextension |
Enables warnings about the use of (an) extension(s) |
-
-Wfield-redeclared |
Enables warnings about redeclared fields |
-
-Wmissing-return-values |
Enables warnings about missing return values |
-
-Wtoo-few-paramaters |
Enables warnings about missing paramaters for function calls |
-
-Wlocal-shadows |
Enables warnings about locals shadowing paramaters or other locals |
-
-Wlocal-constants |
Enables warnings about constants specified as locals |
-
-Wvoid-variables |
Enables warnings about variables declared as type void |
-
-Wimplicit-function-pointer |
Enables warnings about implicitly declared function pointers |
-
-Wvariadic-function |
Enables warnings for use of varadics for non-builtin functions |
-
-Wframe-macros |
Enables warnings about duplicated frame macros |
-
-Weffectless-statement |
Enables warnings about effectiveless statements |
-
-Wend-sys-field |
Enables warnings of end_sys_fields being declared a field |
-
-Wassign-function-types |
Enables warnings for incompatible function pointer signatures used in assignment |
-
-Wpreprocessor |
Enables warnings about redefined macros |
-
-Wmultifile-if |
Enables warnings about multifile if statements |
@@ -296,23 +257,19 @@
Option |
What it does |
-
-force-crc=<num> |
Forces a specific checsum into the header |
-
-debug |
Turns on compiler debug messages |
-
-memchk |
Turns on compiler memory leak checker |
-
Having trouble with GMQCC? Join our IRC channel at #kf-engine on irc.freenode.net or contact Us