Disabled the "remove the call to 'std::abs' since unsigned values cannot be negative" warning introduced in clang 3.5

This commit is contained in:
Benoit Steiner 2016-11-23 18:49:51 -08:00
parent 308961c05e
commit 3be1afca11

View File

@ -42,6 +42,9 @@
#pragma clang diagnostic push
#endif
#pragma clang diagnostic ignored "-Wconstant-logical-operand"
#if __clang_major__ >= 3 && __clang_minor__ >= 5
#pragma clang diagnostic ignored "-Wabsolute-value"
#endif
#elif defined __GNUC__ && __GNUC__>=6