[LLVMdev] Compiling LLVM 2.7 with Visual Studio 2010.

ether zhhb etherzhhb at gmail.com
Sun May 2 00:06:51 PDT 2010


hi,

On Sun, May 2, 2010 at 1:34 PM, Tom van Dijck <llvm at tomvandijck.com> wrote:

> K, last one.....
>
> Global search and replace in LLVM and Clang for NULL -> nullptr, and a
> couple of locations where 0 is used instead of a nullptr, makes both
> compile.
>

Maybe we should define something like

#ifdef VS2010
#undef NULL
#define NULL nullptr
#end

in llvm/Support/Compiler.h

best regards
--ether
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100502/c1d4bfe8/attachment.html>


More information about the llvm-dev mailing list