]> de.git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - gmqcc.ini.example
Merge branch 'master' of github.com:graphitemaster/gmqcc
[xonotic/gmqcc.git] / gmqcc.ini.example
index a314a4114fda7f136008f5754153564f6ff34fe0..6d7a53f4b0f1b772866d3a5de2a79abd9dea0aff 100644 (file)
@@ -61,7 +61,7 @@
     # Prevent the creation of _x, _y and _z progdefs for vectors
     SINGLE_VECTOR_DEFS           = false
 
-    # Use cast vectors to real booleans when used in logic expressions
+    # Cast vectors to real booleans when used in logic expressions.
     # This is achieved by using NOT_V.
     CORRECT_LOGIC                = false
 
     # 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
+
 # Finally these are all the optimizations, usually present via the -O
 # prefix from the command line.
 [optimizations]
 
     # Do not create a RETURN instruction at the end functions of return-type void.
     VOID_RETURN                  = true
+
+    # Turn extraction-multiplications such as (a_vector * '0 1 0')
+    # into direct component accesses
+    VECTOR_COMPONENTS            = true