[Bug 46396] New: telepathy-glib fails to compile with clang
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Feb 21 15:46:58 CET 2012
https://bugs.freedesktop.org/show_bug.cgi?id=46396
Bug #: 46396
Summary: telepathy-glib fails to compile with clang
Classification: Unclassified
Product: Telepathy
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: libtelepathy
AssignedTo: telepathy-bugs at lists.freedesktop.org
ReportedBy: rohan16garg at gmail.com
QAContact: telepathy-bugs at lists.freedesktop.org
Telepathy GLib seems to fail with clang :
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"tp-glib\"
-Werror -Wno-error=missing-field-initializers -Wno-error=unused-parameter -Wall
-Wextra -Wdeclaration-after-statement -Wshadow -Wstrict-prototypes
-Wmissing-prototypes -Wsign-compare -Wnested-externs -Wpointer-arith
-Wformat-security -Winit-self -Wno-missing-field-initializers
-Wno-unused-parameter -I/usr/include/dbus-1.0
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread
-I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I.. -I.. -g -O2 -MT
account-channel-request.lo -MD -MP -MF .deps/account-channel-request.Tpo -c
account-channel-request.c -fPIC -DPIC -o .libs/account-channel-request.o
In file included from base-call-channel.c:103:
In file included from ./base-call-channel.h:26:
../telepathy-glib/base-call-content.h:35:35: error: redefinition of typedef
'TpBaseCallChannel' is invalid in C [-Wtypedef-redefinition]
typedef struct _TpBaseCallChannel TpBaseCallChannel;
^
../telepathy-glib/base-call-stream.h:33:35: note: previous definition is here
typedef struct _TpBaseCallChannel TpBaseCallChannel;
^
In file included from base-call-channel.c:103:
./base-call-channel.h:30:35: error: redefinition of typedef 'TpBaseCallChannel'
is invalid in C [-Wtypedef-redefinition]
typedef struct _TpBaseCallChannel TpBaseCallChannel;
^
../telepathy-glib/base-call-content.h:35:35: note: previous definition is here
typedef struct _TpBaseCallChannel TpBaseCallChannel;
^
In file included from base-call-channel.c:108:
../telepathy-glib/base-call-internal.h:30:35: error: redefinition of typedef
'TpBaseCallChannel' is invalid in C [-Wtypedef-redefinition]
typedef struct _TpBaseCallChannel TpBaseCallChannel;
^
./base-call-channel.h:30:35: note: previous definition is here
typedef struct _TpBaseCallChannel TpBaseCallChannel;
^
In file included from base-call-channel.c:108:
../telepathy-glib/base-call-internal.h:31:35: error: redefinition of typedef
'TpBaseCallContent' is invalid in C [-Wtypedef-redefinition]
typedef struct _TpBaseCallContent TpBaseCallContent;
^
../telepathy-glib/base-call-content.h:37:35: note: previous definition is here
typedef struct _TpBaseCallContent TpBaseCallContent;
^
In file included from base-call-channel.c:108:
../telepathy-glib/base-call-internal.h:32:35: error: redefinition of typedef
'TpBaseCallStream' is invalid in C [-Wtypedef-redefinition]
typedef struct _TpBaseCallStream TpBaseCallStream;
^
../telepathy-glib/base-call-stream.h:35:34: note: previous definition is here
typedef struct _TpBaseCallStream TpBaseCallStream;
^
In file included from base-call-channel.c:109:
In file included from ../telepathy-glib/base-media-call-stream.h:25:
../telepathy-glib/call-stream-endpoint.h:33:38: error: redefinition of typedef
'TpCallStreamEndpoint' is invalid in C [-Wtypedef-redefinition]
typedef struct _TpCallStreamEndpoint TpCallStreamEndpoint;
^
../telepathy-glib/base-call-internal.h:37:38: note: previous definition is here
typedef struct _TpCallStreamEndpoint TpCallStreamEndpoint;
^
In file included from base-call-channel.c:109:
../telepathy-glib/base-media-call-stream.h:29:39: error: redefinition of
typedef 'TpBaseMediaCallStream' is invalid in C [-Wtypedef-redefinition]
typedef struct _TpBaseMediaCallStream TpBaseMediaCallStream;
^
../telepathy-glib/base-call-internal.h:36:39: note: previous definition is here
typedef struct _TpBaseMediaCallStream TpBaseMediaCallStream;
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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