[gjs/wip/xulrunner-1.9.3-rebase7: 11/13] Remove -Wfloat-equal
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/wip/xulrunner-1.9.3-rebase7: 11/13] Remove -Wfloat-equal
- Date: Tue, 28 Sep 2010 22:24:27 +0000 (UTC)
commit 2f08da5d5b4ebb5f19fb95897d40b19fdde929b0
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 6d99f81..8fdcba5 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]