summaryrefslogtreecommitdiff
path: root/libmath
diff options
context:
space:
mode:
Diffstat (limited to 'libmath')
-rw-r--r--libmath/dtoa.c5
1 files changed, 5 insertions, 0 deletions
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*/