[gjs] Remove -Wfloat-equal
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] Remove -Wfloat-equal
- Date: Thu, 30 Sep 2010 14:48:22 +0000 (UTC)
commit f3eb11b306d9779af852c50dfc3495ddf4a50af9
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Tue Sep 28 14:13:40 2010 -0400
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
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 57e21dd..722e847 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`"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]