> On May 17, 2016, at 11:15 AM, Laszlo Ersek <[email protected]> wrote:
> 
> Hence we need a flag so that CLANG allows such pointer use, without
> insisting on strict standards conformance. Maybe "-Wno-cast-align" would
> suffice; I'm not sure.
> 
> An interesting URL I've found is:
> 
> http://lists.llvm.org/pipermail/llvm-dev/2016-January/094012.html
> 

Seems reasonable to follow John's advice. The llvm team is the most aggressive 
in terms of optimizing out undefined behavior, so they will end up setting the 
defacto standards in this space. 

Thanks,

Andrew Fish

> Thanks
> Laszlo

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to