Re: strict aliasing warning in build.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.idasints[2] = ecx;
> 
>    id.idaschars[12] = '\0';
> 
> then do the comparisons against id.idaschars.

Could you send a patch please, preferably generated from a git commit?


Thanks, Sven


_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux