summaryrefslogtreecommitdiffstats
path: root/base/third_party/dmg_fp/dtoa.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/third_party/dmg_fp/dtoa.cc')
-rw-r--r--base/third_party/dmg_fp/dtoa.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/third_party/dmg_fp/dtoa.cc b/base/third_party/dmg_fp/dtoa.cc
index e409d4a..ba49857 100644
--- a/base/third_party/dmg_fp/dtoa.cc
+++ b/base/third_party/dmg_fp/dtoa.cc
@@ -172,6 +172,10 @@
*/
#define IEEE_8087
+#if defined(__GNUC__)
+// Make gcc 4.3+ warnings about parentheses non-fatal warnings.
+#pragma GCC diagnostic warning "-Wparentheses"
+#endif
#ifndef Long
#define Long long