Strict aliasing in D

ponce spam at spambox.com
Sat Jul 27 02:05:31 PDT 2013


On Saturday, 27 July 2013 at 06:58:04 UTC, Walter Bright wrote:
> 2. there are ways, such as unions, to get the other aliasing 
> that doesn't break strict aliasing

It would be great to have something like GCC's solution: warn 
when pointer casts may violate the strict aliasing rule, and 
provide a flag to disable it.


More information about the Digitalmars-d mailing list