<Alexander G. Riccio> via llvm-dev
2016-Mar-07 02:04 UTC
[llvm-dev] Path.cpp (in LLVMSupport) constant value truncations?
I'm trying to see what currently disabled MSVC warnings we can re-enable. In Path.cpp, I noticed that the function identify_magic in LLVMSupport generates *fifteen* "C4310: cast truncates constant value" warnings. In that function, on 15 lines, two byte literals are cast to one byte chars. What's going on there? Sincerely, Alexander Riccio -- "Change the world or go home." about.me/ariccio <http://about.me/ariccio> If left to my own devices, I will build more. ⁂ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160306/d59e393c/attachment.html>