From 94ec7fbe018d194a96ce915692947296ff2a258b Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sun, 4 Jan 2015 20:19:02 -0800 Subject: Fix clang builds --- src/warnings.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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); -- cgit v1.2.3-70-g09d2