summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2010-09-28 14:13:40 -0400
committerOwen W. Taylor <otaylor@fishsoup.net>2010-09-30 10:47:36 -0400
commitf3eb11b306d9779af852c50dfc3495ddf4a50af9 (patch)
tree94d2044344a31ceb3d46255061a082d86c445c62
parent07a8b7844516eafcdecc15fa94573cee374ce8a7 (diff)
downloadgjs-f3eb11b306d9779af852c50dfc3495ddf4a50af9.tar.gz
Remove -Wfloat-equal
While -Wfloat-equal warns on dubious constructs, it also warns on valid constructs, and there is no way to suppress the warning. In particular, it's currently warning for every single file because of JS_CANONICALIZE_NAN() in the xulrunner headers. https://bugzilla.gnome.org/show_bug.cgi?id=630853
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 57e21dd7..722e847f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,7 +49,7 @@ changequote([,])dnl
if test "$GCC" = "yes"; then
for flag in -Wall -Wchar-subscripts -Wmissing-declarations \
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align \
- -Wsign-compare -Wfloat-equal;
+ -Wsign-compare;
do
CFLAGS="`ensureflag $flag $CFLAGS`"
CXXFLAGS="`ensureflag $flag $CXXFLAGS`"