diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2015-01-04 20:19:02 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2015-01-04 20:23:10 -0800 |
commit | 94ec7fbe018d194a96ce915692947296ff2a258b (patch) | |
tree | 5ff02477a788b3f926ef627e01379a12b4b65f53 /src/warnings.hpp | |
parent | 00da6b5977574a0564169172227d8aab45be188f (diff) | |
download | tmwa-94ec7fbe018d194a96ce915692947296ff2a258b.tar.gz tmwa-94ec7fbe018d194a96ce915692947296ff2a258b.tar.bz2 tmwa-94ec7fbe018d194a96ce915692947296ff2a258b.tar.xz tmwa-94ec7fbe018d194a96ce915692947296ff2a258b.zip |
Fix clang builds
Diffstat (limited to 'src/warnings.hpp')
-rw-r--r-- | src/warnings.hpp | 3 |
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); |