warnings from clang and llvm source?

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;



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.