[cfe-dev] warnings from clang and llvm source?
Yaron Keren
yaron.keren at gmail.com
Sun Mar 29 02:05:38 PDT 2015
Hi,
I don't see these with Visual C++ 2013. If you're building with CMAKE these
warnings should be turned off.
Anyhow, patches are welcome.
http://llvm.org/docs/DeveloperPolicy.html#making-and-submitting-a-patch
Yaron
2015-03-29 0:07 GMT+03:00 Hayden Livingston <halivingston at gmail.com>:
> I'm getting about a hundred warnings when using Visual Studio to build a
> clang tool
>
> Should we not fix these in clang? They seem trivial, but I wonder why no
> one has fixed it yet.
>
> For example, this one is like pretty easy:
>
> inline float getSwappedBytes(double C) {
>
> union {
>
> uint64_t i;
>
> double d;
>
> } in, out;
>
> in.d = C;
>
> out.i = SwapByteOrder_64(in.i);
>
> return out.d;
>
> }
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150329/5236e8c6/attachment.html>
More information about the cfe-dev
mailing list