gmqcc.ini.example: DIFFERENT_QUALIFIERS, DIFFERENT_ATTRIBUTES
authorWolfgang Bumiller <blub@speed.at>
Sat, 29 Dec 2012 16:41:01 +0000 (17:41 +0100)
committerWolfgang Bumiller <blub@speed.at>
Sat, 29 Dec 2012 16:41:20 +0000 (17:41 +0100)
gmqcc.ini.example

index b07651d0172c35d404c2b60a40d3de0dccd3e1ff..e2956dcc80a35dd687c1fd0a6d960dae4930aaa4 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
+
 # Finally these are all the optimizations, usually present via the -O
 # prefix from the command line.
 [optimizations]