Avoid stupid compiler complaints about precision loss.

2005-03-11  Matthias Clasen  <mclasen@redhat.com>

	* m4macros/glib-gettext.m4: Avoid stupid compiler complaints
	about precision loss.
This commit is contained in:
Matthias Clasen 2005-03-11 18:02:35 +00:00 committed by Matthias Clasen
parent 26fc5a7a6f
commit aae7e432c6
5 changed files with 22 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-03-11 Matthias Clasen <mclasen@redhat.com>
* m4macros/glib-gettext.m4: Avoid stupid compiler complaints
about precision loss.
2005-03-10 Matthias Clasen <mclasen@redhat.com>
* glib/gdate.c: Remove a lot of pointless g_return_if_fail()

View File

@ -1,3 +1,8 @@
2005-03-11 Matthias Clasen <mclasen@redhat.com>
* m4macros/glib-gettext.m4: Avoid stupid compiler complaints
about precision loss.
2005-03-10 Matthias Clasen <mclasen@redhat.com>
* glib/gdate.c: Remove a lot of pointless g_return_if_fail()

View File

@ -1,3 +1,8 @@
2005-03-11 Matthias Clasen <mclasen@redhat.com>
* m4macros/glib-gettext.m4: Avoid stupid compiler complaints
about precision loss.
2005-03-10 Matthias Clasen <mclasen@redhat.com>
* glib/gdate.c: Remove a lot of pointless g_return_if_fail()

View File

@ -1,3 +1,8 @@
2005-03-11 Matthias Clasen <mclasen@redhat.com>
* m4macros/glib-gettext.m4: Avoid stupid compiler complaints
about precision loss.
2005-03-10 Matthias Clasen <mclasen@redhat.com>
* glib/gdate.c: Remove a lot of pointless g_return_if_fail()

View File

@ -121,7 +121,7 @@ glib_DEFUN([GLIB_WITH_NLS],
[AC_TRY_LINK([
#include <libintl.h>
],
[return (int) ngettext ("","", 1)],
[return !ngettext ("","", 1)],
gt_cv_func_ngettext_libc=yes,
gt_cv_func_ngettext_libc=no)
])
@ -131,7 +131,7 @@ glib_DEFUN([GLIB_WITH_NLS],
[AC_TRY_LINK([
#include <libintl.h>
],
[return (int) dgettext ("","")],
[return !dgettext ("","")],
gt_cv_func_dgettext_libc=yes,
gt_cv_func_dgettext_libc=no)
])