diff --git a/docs/GettingStarted.html b/docs/GettingStarted.html index b3fbb33cc8e..9d060771c86 100644 --- a/docs/GettingStarted.html +++ b/docs/GettingStarted.html @@ -268,7 +268,7 @@ software you will need.

Windows x861 - Visual Studio .NET4,5 + Visual Studio 2005 SP1 or higher4,5 AIX3,4 PowerPC @@ -305,7 +305,7 @@ software you will need.

up
  • Code generation supported for 32-bit ABI only
  • No native code generation
  • -
  • Build is not complete: one or more tools don't link
  • +
  • Build is not complete: one or more tools do not link or function
  • The GCC-based C/C++ frontend does not build
  • The port is done using the MSYS shell. Download and install diff --git a/docs/GettingStartedVS.html b/docs/GettingStartedVS.html index a09559ed8e6..7a6b4175e25 100644 --- a/docs/GettingStartedVS.html +++ b/docs/GettingStartedVS.html @@ -65,12 +65,12 @@

    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 @@
  • cd llvm
  • + +
  • Use CMake to generate up-to-date + project files: + +
  • Start Visual Studio -
      -
    1. Simply double click on the solution file llvm/win32/llvm.sln. -
    2. +
  • Build the LLVM Suite: @@ -151,8 +178,8 @@ changes are continually making the VS support better.

    -

    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.

    @@ -161,11 +188,15 @@ changes are continually making the VS support better.

    Software
    -

    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; } };