mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-31 03:50:36 +00:00
Update documentation
This commit is contained in:
parent
90824c2093
commit
2ebf571129
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue