]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - opts.def
Adding -Wparenthesis, fixing constant folding of && and ||
[xonotic/gmqcc.git] / opts.def
index 3c60deb7307f9759ebbdb080a0da3f6e5f86a7f9..9ed9de83d8565cbaaf670e902f95fe3dad50dfe9 100644 (file)
--- a/opts.def
+++ b/opts.def
     GMQCC_DEFINE_FLAG(RESERVED_NAMES)
     GMQCC_DEFINE_FLAG(UNINITIALIZED_CONSTANT)
     GMQCC_DEFINE_FLAG(UNINITIALIZED_GLOBAL)
+    GMQCC_DEFINE_FLAG(DIFFERENT_QUALIFIERS)
+    GMQCC_DEFINE_FLAG(DIFFERENT_ATTRIBUTES)
+    GMQCC_DEFINE_FLAG(DEPRECATED)
+    GMQCC_DEFINE_FLAG(PARENTHESIS)
 #endif
 
 #ifdef GMQCC_TYPE_OPTIMIZATIONS
@@ -95,6 +99,7 @@
     GMQCC_DEFINE_FLAG(OVERLAP_STRINGS,      2)
     GMQCC_DEFINE_FLAG(CALL_STORES,          1)
     GMQCC_DEFINE_FLAG(VOID_RETURN,          1)
+    GMQCC_DEFINE_FLAG(VECTOR_COMPONENTS,    1)
 #endif
 
 /* some cleanup so we don't have to */