[Bug 94310] New: [PATCH] Fix -Werror build for clang
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Feb 26 14:33:57 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=94310
Bug ID: 94310
Summary: [PATCH] Fix -Werror build for clang
Product: Telepathy
Version: git master
Hardware: Other
OS: FreeBSD
Status: NEW
Severity: normal
Priority: medium
Component: mission-control
Assignee: telepathy-bugs at lists.freedesktop.org
Reporter: lantw44 at gmail.com
QA Contact: telepathy-bugs at lists.freedesktop.org
Please see the attached patch. It fixes the following error:
mcd-account.c:101:7: error: expression which evaluates to zero treated as a
null pointer constant of type 'GType (*)(void)'
[-Werror,-Wnon-literal-null-conversion]
{ G_TYPE_INVALID, }
^~~~~~~~~~~~~~
/home/lantw44/gnome/devinstall/include/glib-2.0/gobject/gtype.h:55:26: note:
expanded from macro 'G_TYPE_INVALID'
#define G_TYPE_INVALID G_TYPE_MAKE_FUNDAMENTAL (0)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/lantw44/gnome/devinstall/include/glib-2.0/gobject/gtype.h:219:36: note:
expanded from macro 'G_TYPE_MAKE_FUNDAMENTAL'
#define G_TYPE_MAKE_FUNDAMENTAL(x) ((GType) ((x) <<
G_TYPE_FUNDAMENTAL_SHIFT))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list