]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
Update documentation
authorDale Weiler <killfieldengine@gmail.com>
Mon, 30 Sep 2013 20:03:22 +0000 (16:03 -0400)
committerDale Weiler <killfieldengine@gmail.com>
Mon, 30 Sep 2013 20:03:22 +0000 (16:03 -0400)
doc/gmqcc.1
gmqcc.ini.example

index c825a417b5d25a05cd3a0c51c534cc35074634df..758e08db38de71c1b1e9aa60ea3dc1710d7b330f 100644 (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.
 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
 .El
 .Sh COMPILE FLAGS
 .Bl -tag -width Ds
index 474fe3c52dc95a2311abfd9c443ab6937827b679..acff3b3daaecadc5868f60b1363d71b4c5f8040d 100644 (file)
     CONST_OVERWRITE = true
 
 
     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
 
 [optimizations]
     #Some general peephole optimizations. For instance the code `a = b