]> de.git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - gmqcc.ini.example
Implement [[deprecated]] general attribute, will mark functions as deprecated. Makin...
[xonotic/gmqcc.git] / gmqcc.ini.example
index 3332231e4dbbd013d1c13c92686c54058028d0cb..6d7a53f4b0f1b772866d3a5de2a79abd9dea0aff 100644 (file)
     # 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