mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-07 17:58:39 +02:00
2005-01-01 Havoc Pennington <hp@redhat.com>
* configure.in: add -Wfloat-equal
This commit is contained in:
parent
10f0f04980
commit
a6580a5940
2 changed files with 9 additions and 0 deletions
|
|
@ -1,3 +1,7 @@
|
|||
2005-01-01 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* configure.in: add -Wfloat-equal
|
||||
|
||||
2005-01-01 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* dbus/dbus-sysdeps.h: add _DBUS_DOUBLES_BITWISE_EQUAL macro,
|
||||
|
|
|
|||
|
|
@ -105,6 +105,11 @@ if test "x$GCC" = "xyes"; then
|
|||
*) CFLAGS="$CFLAGS -Wcast-align" ;;
|
||||
esac
|
||||
|
||||
case " $CFLAGS " in
|
||||
*[\ \ ]-Wfloat-equal[\ \ ]*) ;;
|
||||
*) CFLAGS="$CFLAGS -Wfloat-equal" ;;
|
||||
esac
|
||||
|
||||
case " $CFLAGS " in
|
||||
*[\ \ ]-Wsign-compare[\ \ ]*) ;;
|
||||
*) CFLAGS="$CFLAGS -Wsign-compare" ;;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue