diff options
| author | Charles Forsyth <charles.forsyth@gmail.com> | 2015-10-10 12:09:51 +0100 |
|---|---|---|
| committer | Charles Forsyth <charles.forsyth@gmail.com> | 2015-10-10 12:09:51 +0100 |
| commit | a4b7039a5ed5fcd4b6d19e86e9a9dc2fb04b6fcc (patch) | |
| tree | e5b1ce1c6c200e90999b254e939435da69074799 /libmath | |
| parent | 1e42b1b08e382cd0bb2f435ebc402e8f14a75c05 (diff) | |
suppress clang warnings that are well-meant and sometimes justified, but need changes to shared source
Diffstat (limited to 'libmath')
| -rw-r--r-- | libmath/dtoa.c | 5 |
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*/ |
