[ipxe-devel] [PATCH] Avoid strict-aliasing warning for gcc 4.3.

Michael Brown mbrown at fensystems.co.uk
Thu Mar 21 14:02:14 UTC 2013


On 21/03/13 03:32, Bo Yang wrote:
> I am sorry that I missed the architecture. gcc 4.3 on x86. My testing
> uses gcc 4.3.4 on x86 system(SLES11SP2).
>
> I don't understand this either. :( It looks like that the 32-bit gcc 4.3 does
> some optimization and checks into the structure. Here is the message:
> <snip>

Thanks for clarifying.  I don't have a gcc 4.3 x86 machine to test on, 
so I've just applied the patch anyway:

   http://git.ipxe.org/ipxe.git/commitdiff/11ad0ba

Thanks!

Michael



More information about the ipxe-devel mailing list