Re: [Gimp-developer] strict aliasing warning in build.

2010-10-01 Thread Sven Neumann
On Fri, 2010-10-01 at 00:46 -0700, Patrick Horgan wrote: > The fix would be to make a union: > > union { > gchar idaschars[16]; > int idasints[4]; > } id; > > and access the appropriate sections. > >id.idasints[0] = ebx; >id.idasints[1] = edx; >id.idasin

Re: [Gimp-developer] X copy-paste in text tool

2010-10-01 Thread Sven Neumann
On Fri, 2010-10-01 at 09:12 +0200, g...@catking.net wrote: > Hi, > > noticed a defect in the text entry tool. > > I was preparing a few lines of text on top of an image using the small > edit window of the text tool. If I select a text segment with the mouse > and do middle button to paste the

[Gimp-developer] strict aliasing warning in build.

2010-10-01 Thread Patrick Horgan
I see this warning: gimpcpuaccel.c: In function ‘arch_get_vendor’: gimpcpuaccel.c:182: warning: dereferencing type-punned pointer will break strict-aliasing rules Which is gcc's way of telling you that when optimization is turned on gcc will feel free to generate code that ignores any changes you

[Gimp-developer] X copy-paste in text tool

2010-10-01 Thread gg
Hi, noticed a defect in the text entry tool. I was preparing a few lines of text on top of an image using the small edit window of the text tool. If I select a text segment with the mouse and do middle button to paste the text cursor does not move. This may not be too important in itself but h