Re: A little compiler issue

2007-11-09 Thread Rafał Mużyło
On Fri, Nov 09, 2007 at 07:19:22AM -0800, Alan M. Evans wrote: > On Fri, 2007-11-09 at 00:04 +0100, Rafał Mużyło wrote: > > It's not quite gtk related, but do any of you know how to fix a problem > > with G_LOCK/G_UNLOCK producing strict aliasing warnings with -O2 ? > > I'm looking for a real solut

Re: A little compiler issue

2007-11-09 Thread Brian J. Tarricone
On Fri, 09 Nov 2007 07:19:22 -0800 Alan M. Evans wrote: > On Fri, 2007-11-09 at 00:04 +0100, Rafał Mużyło wrote: > > It's not quite gtk related, but do any of you know how to fix a > > problem with G_LOCK/G_UNLOCK producing strict aliasing warnings > > with -O2 ? I'm looking for a real solution, n

Re: A little compiler issue

2007-11-09 Thread Alan M. Evans
On Fri, 2007-11-09 at 00:04 +0100, Rafał Mużyło wrote: > It's not quite gtk related, but do any of you know how to fix a problem > with G_LOCK/G_UNLOCK producing strict aliasing warnings with -O2 ? > I'm looking for a real solution, not something to silence warnings, like > -fno-strict-aliasing ? I

A little compiler issue

2007-11-08 Thread Rafał Mużyło
It's not quite gtk related, but do any of you know how to fix a problem with G_LOCK/G_UNLOCK producing strict aliasing warnings with -O2 ? I'm looking for a real solution, not something to silence warnings, like -fno-strict-aliasing ? It seems that there was once a similar problem (bug 316221) but