[LLVMdev] Windows/Visual Studio 2010 warnings (WARNINGS!)
Mikael Lyngvig
mikael at lyngvig.org
Sat Feb 19 23:19:58 PST 2011
Hi,
I stumbled across three warnings in LLVM when building with MS Visual
Studio 2010. It has been my experience that different compilers detect
different things, so I thought I'd pass them on to you (in case your
compiler does not warn about these things):
warning C4805: '==' : unsafe mix of type 'bool' and type 'unsigned int'
in operation lib\Transforms\IPO\ExtractGV.cpp 58
1 LLVMipo
warning C4805: '==' : unsafe mix of type 'bool' and type 'unsigned int'
in operation lib\Transforms\IPO\ExtractGV.cpp 68
1 LLVMipo
warning C4065: switch statement contains 'default' but no 'case'
labels lib\Target\X86\X86GenRegisterInfo.inc
4360 1 LLVMX86CodeGen
The two first seem worth some attention, the latter just seems slightly
bizarre.
Cheers,
Mikael
P.S. I was thinking you perhaps could make a blinking button labeled
"Windows" on the front page of http://www.llvm.org, which when clicked
guided people through the steps needed to build on Windows? Just a
joke, but I do feel slightly daft. It's all in the docs. It is just
that there are so many docs and so little expectation of native Windows
support given the fact that you only provide MINGW32 executables.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110220/79285898/attachment.html>
More information about the llvm-dev
mailing list