[cfe-dev] Enabling strict aliasing warning

Devchandra L Meetei dlmeetei at gmail.com
Wed Jul 24 22:36:29 PDT 2013


clang does not have it, I guess. Is there any plan to add it?


On Tue, Jul 23, 2013 at 1:02 PM, Devchandra L Meetei <dlmeetei at gmail.com>wrote:

> How do we enable strict aliasing violation warning in clang.
>
> something like -fstrict-aliasing -Wstrict-aliasing=3 in gcc.
>
> Could not find mention of above flags in clang
>
> --
> Warm Regards
> --Dev
> OpenPegasus Developer/Committer
>
> (\__/)
> (='.'=) This is Bunny. Copy and paste bunny
> (")_(") to help him gain world domination.
>



-- 
Warm Regards
--Dev
OpenPegasus Developer/Committer

(\__/)
(='.'=) This is Bunny. Copy and paste bunny
(")_(") to help him gain world domination.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130725/bc974531/attachment.html>


More information about the cfe-dev mailing list