[Bug 23685] [asyncns] Gabble fails to build with pedantic gcc

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 14 15:26:54 CEST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=23685





--- Comment #5 from Lennart Poettering <lennart at poettering.net>  2009-09-14 06:26:53 PST ---
(In reply to comment #4)
> (In reply to comment #1)
> > You shouldn't use -Werror when building this. The code in asyncns.c breaks C99
> > strict aliasing rules.
> 
> Shouldn't it either not do that, or be documented as "must be compiled with
> -fno-strict-aliasing", given that AIUI the gcc warnings basically mean "I think
> I'm applying unsafe optimizations to your code"?

Yes, of course, I should fix this. It is on my todo list already, just haven't
found the time yet.

I think the meaning of the warning is actually "I am not applying optimizations
here because your code stinks", though... ;-) But tbh I neer really verified my
interpretation of this.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the telepathy-bugs mailing list