summaryrefslogtreecommitdiff
path: root/etc/defaults/CC/TARGETS.protobuf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/defaults/CC/TARGETS.protobuf')
-rw-r--r--etc/defaults/CC/TARGETS.protobuf38
1 files changed, 20 insertions, 18 deletions
diff --git a/etc/defaults/CC/TARGETS.protobuf b/etc/defaults/CC/TARGETS.protobuf
index 229c8f31..a4eacb41 100644
--- a/etc/defaults/CC/TARGETS.protobuf
+++ b/etc/defaults/CC/TARGETS.protobuf
@@ -40,26 +40,28 @@
, "/wd4800"
, "/wd4996"
]
- , "gnu":
- [ "-Wall"
- , "-Woverloaded-virtual"
- , "-Wno-sign-compare"
- , "-Wno-sign-conversion"
- , "-Wno-unused-function"
- , "-Wno-deprecated-declarations"
- , "-Wno-nonnull"
- ]
}
, "default":
- [ "-Wall"
- , "-Woverloaded-virtual"
- , "-Wno-sign-compare"
- , "-Wno-sign-conversion"
- , "-Wno-unused-function"
- , "-Wno-deprecated-declarations"
- , "-Wno-deprecated-enum-enum-conversion"
- , "-Wno-nonnull"
- ]
+ { "type": "++"
+ , "$1":
+ [ [ "-Wall"
+ , "-Woverloaded-virtual"
+ , "-Wno-sign-compare"
+ , "-Wno-sign-conversion"
+ , "-Wno-unused-function"
+ , "-Wno-deprecated-declarations"
+ , "-Wno-nonnull"
+ ]
+ , { "type": "case"
+ , "expr": {"type": "var", "name": "COMPILER_FAMILY"}
+ , "case":
+ { "gnu": ["-Wno-attributes"]
+ , "clang": ["-Wno-atomic-alignment"]
+ }
+ , "default": ["-Wno-deprecated-enum-enum-conversion"]
+ }
+ ]
+ }
}
]
}