cast question, again

Alejandro Mery amery at geeks.cl
Mon Sep 29 02:00:20 CEST 2008


>> warning: dereferencing type-punned pointer will break strict-aliasing rules
>>
>> and compiling stops.. but
>
> This is most likely a compiler bug - do you still get that with current
> versions of gcc?

Not that "current"... 4.1.2 (cross compiler)

I'm using -fno-strict-aliasing now to make gcc behave as a C compiler :)

Regards,
Alejandro Mery



More information about the libev mailing list