]> de.git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - gmqcc.ini.example
Fixes
[xonotic/gmqcc.git] / gmqcc.ini.example
index b07651d0172c35d404c2b60a40d3de0dccd3e1ff..b0ab51ff6d533838078a614c0af0f81d8f17c359 100644 (file)
     # variables with the name 'nil' to be declared.
     PREMISSIVE                   = false
 
+    # Allow vararg access from within QC of the form: ...(argnumber, type)
+    VARIADIC_ARGS                = true
+
+    # Most Quake VMs, including the one from FTEQW or up till recently
+    # Darkplaces, do not cope well with vector instructions with overlapping
+    # input and output. This option will avoid producing such code.
+    LEGACY_VECTOR_MATHS          = true
+
 # These are all the warnings, usually present via the -W prefix from
 # the command line.
 [warnings]
     MISSING_RETURN_VALUES        = true
 
     # Enables warnings about missing parameters for function calls.
-    TOO_FEW_PARAMETERS           = true
+    INVALID_PARAMETER_COUNT      = true
 
     # Enables warnings about locals shadowing parameters or other locals.
     LOCAL_SHADOWS                = true
     # Warn about non-constant global variables with no initializing value.
     UNINITIALIZED_GLOBAL         = true
 
+    # Redeclaring a 'const' as 'var' or the other way round.
+    DIFFERENT_QUALIFIERS         = true
+
+    # Redeclaring a function with different attributes such as
+    # [[noreturn]]
+    DIFFERENT_ATTRIBUTES         = true
+
+    # Warn when a function is marked with the attribute
+    # "[[deprecated]]". This flag enables a warning on calls to functions
+    # marked as such.
+    DEPRECATED                   = true
+
+    # Warn about possible problems from missing parenthesis, like an
+    # assignment used as truth value without additional parens around.
+    PARENTHESIS                  = true
+
 # Finally these are all the optimizations, usually present via the -O
 # prefix from the command line.
 [optimizations]