diff options
| author | Michael Biebl <biebl@debian.org> | 2018-03-13 01:30:38 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2018-03-13 01:30:38 +0100 |
| commit | bd71023d735a1dd11b1da3779850df573f134ad1 (patch) | |
| tree | e53ddb1bdc1f700b61377ec8a264cfce40515488 /m4 | |
| parent | d0408a3e3b1cc6effec321d098008ef0c4acf91b (diff) | |
| parent | 7e9ff09fcb2366b383b7ebbec80d2f6fff117290 (diff) | |
Update upstream source from tag 'upstream/1.10.6'
Update to upstream version '1.10.6' with Debian dir c37b318f40a9e6c07a543a8093e311df21e75045
Diffstat (limited to 'm4')
| -rw-r--r-- | m4/compiler_options.m4 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/m4/compiler_options.m4 b/m4/compiler_options.m4 index ccb51f5e..2350571e 100644 --- a/m4/compiler_options.m4 +++ b/m4/compiler_options.m4 @@ -127,6 +127,16 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then [union { int a[1]; int b[2]; } c = { 0 }] ) + dnl a new warning in gcc 8, glib 2.55 doesn't play nice yet + NM_COMPILER_WARNING([cast-function-type], + [#include <glib-object.h>] + [typedef struct { GObject parent; } NMObject;] + [typedef struct { GObjectClass parent; } NMObjectClass;] + [static void nm_object_init (NMObject *object) { } ] + [static void nm_object_class_init (NMObjectClass *object) { }] + [G_DEFINE_TYPE (NMObject, nm_object, G_TYPE_OBJECT)] + ) + CFLAGS="$CFLAGS_MORE_WARNINGS $CFLAGS" else AC_MSG_RESULT(no) |