From 28ea4f6c070f3d7eb75291a64cf75f1e7af6eadf Mon Sep 17 00:00:00 2001
From: Nick Lewycky
The LLVM test suite cannot be run on the Visual Studio port at this time.
-Most of the tools build and work. llvm-db does not build at this - time. bugpoint does build, but does not work. +
Most of the tools build and work. bugpoint does build, but does + not work. The other tools 'should' work, but have not been fully tested.
Additional information about the LLVM directory structure and tool chain can be found on the main Getting Started - page.
+ page. @@ -108,11 +108,38 @@Any system that can adequately run Visual Studio .NET 2003 is fine. The - LLVM source tree and object files, libraries and executables will consume +
Any system that can adequately run Visual Studio .NET 2005 SP1 is fine. + The LLVM source tree and object files, libraries and executables will consume approximately 3GB.
You will need Visual Studio .NET 2003. Earlier versions cannot open the - solution/project files. The VS 2005 beta can, but will migrate these files - to its own format in the process. While it should work with the VS 2005 - beta, there are no guarantees and there is no support for it at this time. - It has been reported that VC++ Express also works.
+You will need Visual Studio .NET 2005 SP1 or higher. The VS2005 SP1 + beta and the normal VS2005 still have bugs that are not completely + compatible. VS2003 would work except (at last check) it has a bug with + friend classes that you can work-around with some minor code rewriting + (and please submit a patch if you do). Earlier versions of Visual Studio + do not support the C++ standard well enough and will not work.
+ +You will also need the CMake build + system since it generates the project files you will use to build with.
If you plan to modify any .y or .l files, you will need to have bison and/or flex installed where Visual Studio can find them. Otherwise, you do diff --git a/lib/Support/Annotation.cpp b/lib/Support/Annotation.cpp index fdf6dc717f4..9764b5e829d 100644 --- a/lib/Support/Annotation.cpp +++ b/lib/Support/Annotation.cpp @@ -31,7 +31,7 @@ Annotable::~Annotable() { // Virtual because it's designed to be subclassed... namespace { class StrCmp { public: - bool operator()(const char *a, const char *b) { + bool operator()(const char *a, const char *b) const { return strcmp(a, b) < 0; } };