[Bug 29502] New: FTBFS with gcc-4.5
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Aug 11 12:46:02 CEST 2010
https://bugs.freedesktop.org/show_bug.cgi?id=29502
Summary: FTBFS with gcc-4.5
Product: Telepathy
Version: 0.9
Platform: Other
URL: http://http://git.collabora.co.uk/?p=user/cosimoc/tele
pathy-gabble.git;a=shortlog;h=refs/heads/gcc4.5
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: gabble
AssignedTo: telepathy-bugs at lists.freedesktop.org
ReportedBy: simon.mcvittie at collabora.co.uk
QAContact: telepathy-bugs at lists.freedesktop.org
Gabble gets various compiler warnings with gcc-4.5. Cosimo has a branch with
various changes, about which I said:
> > - g_assert ((priv->state == JS_STATE_PENDING_CREATED) ||
> > - (priv->state == JS_STATE_ENDED));
> > + g_assert ((priv->state == (JingleState) JS_STATE_PENDING_CREATED) ||
> > + (priv->state == (JingleState) JS_STATE_ENDED));
>
> [...] I don't like scattering casts through our code if we don't
> have to; they clutter the code (hurting clarity), and can mask genuine bugs
> that the compiler would have warned us about.
--
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