X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=gmqcc.ini.example;h=2c63fcd44e0a1f14205e52b9703aec6331a86834;hp=6d7a53f4b0f1b772866d3a5de2a79abd9dea0aff;hb=861987e13efd3967037017f74152bcc1afbbe257;hpb=921877e8a4d7b5221762490d3f6e3b3666e4381b diff --git a/gmqcc.ini.example b/gmqcc.ini.example index 6d7a53f..2c63fcd 100644 --- a/gmqcc.ini.example +++ b/gmqcc.ini.example @@ -125,7 +125,7 @@ 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 @@ -210,6 +210,10 @@ # 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]