Update documentation

This commit is contained in:
Dale Weiler 2013-09-30 16:03:22 -04:00
parent 90824c2093
commit 2ebf571129
2 changed files with 7 additions and 0 deletions

View file

@ -336,6 +336,8 @@ When compiling original QuakeWorld QC there are instances where
code overwrites constants. This is considered an error, however
for QuakeWorld to compile it needs to be treated as a warning
instead, as such this warning only works when -std=qcc.
.It Fl W Ns Cm directive-inmacro
Warn about the use of preprocessor directives inside macros.
.El
.Sh COMPILE FLAGS
.Bl -tag -width Ds

View file

@ -532,6 +532,11 @@
CONST_OVERWRITE = true
#Warn about the use of preprocessor directives inside macros.
DIRECTIVE_INMACRO = true
[optimizations]
#Some general peephole optimizations. For instance the code `a = b