GDC2 compilation warnings
bearophile
bearophileHUGS at lycos.com
Wed Nov 24 09:37:13 PST 2010
Leandro Lucarella:
> These are important issues. This can heavily break the code when
> compiling with optimizations (-O2, -O3, -Os). Basically, you can't
> access an object with a type using a pointer to an incompatible type
I agree.
> (except through an union).
I am not sure the C standard says something about this. I think this is more like a convention for C compilers.
Bye,
bearophile
More information about the Digitalmars-d
mailing list