Mikael Lyngvig
2011-Feb-20 07:19 UTC
[LLVMdev] Windows/Visual Studio 2010 warnings (WARNINGS!)
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>
Anton Korobeynikov
2011-Feb-20 12:49 UTC
[LLVMdev] Windows/Visual Studio 2010 warnings (WARNINGS!)
> 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?Shouldn't there be a button entitled "Linux" then? And "Mac OS X" ? And "FreeBSD"? ... -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
Duncan Sands
2011-Feb-20 13:23 UTC
[LLVMdev] Windows/Visual Studio 2010 warnings (WARNINGS!)
Hi Anton,>> 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? > Shouldn't there be a button entitled "Linux" then? And "Mac OS X" ? > And "FreeBSD"? ...it should be possible to query the browser to find out which O/S it is running on and display the appropriate button :) Ciao, Duncan.
On 02/19/2011 23:19, Mikael Lyngvig wrote:> 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.This button could also be made to move with the scroll window with some neat JavaScript so it can't be missed. Yuri -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110220/bd78d2fb/attachment.html>
Óscar Fuentes
2011-Feb-20 14:53 UTC
[LLVMdev] Windows/Visual Studio 2010 warnings (WARNINGS!)
Mikael Lyngvig <mikael at lyngvig.org> writes: [snip]> 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.Executables created by MinGW are as native as those created by Visual Studio.
Anton Korobeynikov
2011-Feb-20 15:21 UTC
[LLVMdev] Fwd: Windows/Visual Studio 2010 warnings (WARNINGS!)
Forwarding to llvmdev ---------- Forwarded message ---------- From: Mikael Lyngvig <mikael at lyngvig.org> Date: Sun, Feb 20, 2011 at 16:02 Subject: Re: [LLVMdev] Windows/Visual Studio 2010 warnings (WARNINGS!) To: Anton Korobeynikov <anton at korobeynikov.info> I was joking about the fact that I am only a Windows user (LLVM initially does look rather *nix biased). But I guess you have a valid point. The problem, as I see it, is that there is a LOT of (great) documentation. If you stumble across the site and wanna get flying right away, you will hit the ground shortly after. Perhaps something could be done to make life easier on newbies like myself. Here's a couple of ideas: 1. "The LLVM Getting Started Guide" could be written in bold typeface. 2. At the very top of "The LLVM Getting Started Guide" could be a bold link to the "Getting Started with the LLVM System using Microsoft Visual Studio" page. Those are just my two cents. I didn't intend to imply that Linux, Mac OS X, or FreeBSD guys are less than Windows guys. More on the contrary (except for the Mac OS X guys). Most Linux and FreeBSD users know what they are doing. P.S. Has anybody tried building LLVM with the OpenWatcom compiler? If not, I will give it a try because it is about 10 percent faster than the Microsoft compiler in my 10 year old real-life tests (a print server). Cheers, Mikael Den 20-02-2011 13:49, Anton Korobeynikov skrev: 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? Shouldn't there be a button entitled "Linux" then? And "Mac OS X" ? And "FreeBSD"? ... -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
Seemingly Similar Threads
- [LLVMdev] Minor correction to the Visual Studio documentation
- [LLVMdev] Minor correction to the Visual Studio documentation/Windows support in general
- [LLVMdev] Minor correction to the Visual Studio documentation/Windows support in general
- [LLVMdev] Minor correction to the Visual Studio documentation
- [LLVMdev] Fwd: Windows/Visual Studio 2010 warnings (WARNINGS!)