[cfe-dev] warnings from clang and llvm source?

Hayden Livingston halivingston at gmail.com
Sat Mar 28 14:07:03 PDT 2015


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;

}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150328/b2aa2cb7/attachment.html>


More information about the cfe-dev mailing list