summaryrefslogtreecommitdiff
path: root/src/warnings.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/warnings.hpp')
-rw-r--r--src/warnings.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/warnings.hpp b/src/warnings.hpp
index 9389766..884857f 100644
--- a/src/warnings.hpp
+++ b/src/warnings.hpp
@@ -161,7 +161,10 @@ DIAG_E(trigraphs);
DIAG_E(type_limits);
DIAG_E(undef);
DIAG_E(uninitialized);
+// clang bug, fixed in 3.5
+#ifndef GENERATING_DEPENDENCIES
DIAG_E(unknown_pragmas);
+#endif
DIAG_W(unreachable_code);
DIAG_X(unsafe_loop_optimizations);
DIAG_E(unused_but_set_parameter);