X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=gmqcc.ini.example;h=6d7a53f4b0f1b772866d3a5de2a79abd9dea0aff;hb=921877e8a4d7b5221762490d3f6e3b3666e4381b;hp=3332231e4dbbd013d1c13c92686c54058028d0cb;hpb=3567abbd64d4cb5a0db5e434955c83a924635d6f;p=xonotic%2Fgmqcc.git diff --git a/gmqcc.ini.example b/gmqcc.ini.example index 3332231..6d7a53f 100644 --- a/gmqcc.ini.example +++ b/gmqcc.ini.example @@ -198,6 +198,18 @@ # 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] @@ -232,3 +244,7 @@ # 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