X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=gmqcc.ini.example;h=6d7a53f4b0f1b772866d3a5de2a79abd9dea0aff;hb=f698e796d22929d99ad02d44199e60b2b9b55f3a;hp=b07651d0172c35d404c2b60a40d3de0dccd3e1ff;hpb=fda4f4d02798db01494b777ff46a07db6f6cceca;p=xonotic%2Fgmqcc.git diff --git a/gmqcc.ini.example b/gmqcc.ini.example index b07651d..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]