From a4b7039a5ed5fcd4b6d19e86e9a9dc2fb04b6fcc Mon Sep 17 00:00:00 2001 From: Charles Forsyth Date: Sat, 10 Oct 2015 12:09:51 +0100 Subject: suppress clang warnings that are well-meant and sometimes justified, but need changes to shared source --- libmath/dtoa.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libmath/dtoa.c') diff --git a/libmath/dtoa.c b/libmath/dtoa.c index a4a8509f..2df892f8 100644 --- a/libmath/dtoa.c +++ b/libmath/dtoa.c @@ -1,6 +1,11 @@ /* derived from /netlib/fp/dtoa.c assuming IEEE, Standard C */ /* kudos to dmg@bell-labs.com, gripes to ehg@bell-labs.com */ #include "lib9.h" + +#ifdef __APPLE__ +#pragma clang diagnostic ignored "-Wlogical-op-parentheses" +#pragma clang diagnostic ignored "-Wparentheses" +#endif #define ACQUIRE_DTOA_LOCK(n) /*nothing*/ #define FREE_DTOA_LOCK(n) /*nothing*/ -- cgit v1.2.3