[cfe-dev] error: 'NULL' was not declared in this scope (SourceLocation.h:212)

Ted Kremenek kremenek at apple.com
Wed Dec 12 11:40:10 PST 2007


It should now be fixed.  Let me know if you still have problems.

On Dec 12, 2007, at 11:26 AM, Emmanuel Bastien wrote:

> Hello,
> After SVN update to r44952 I have the following compilation error:
>
> make[1]: Entering directory
> `/data/ngi/ebastien/llvm-SVN/llvm/tools/clang/Basic'
> llvm[1]: Compiling Diagnostic.cpp for Release build
> In file included from
> /data/ngi/ebastien/llvm-SVN/llvm/tools/clang/Basic/../include/clang/ 
> Basic/Diagnostic.h:17,
>                 from Diagnostic.cpp:14:
> /data/ngi/ebastien/llvm-SVN/llvm/tools/clang/Basic/../include/clang/ 
> Basic/SourceLocation.h:
> In constructor 'clang::FullSourceLoc::FullSourceLoc()':
> /data/ngi/ebastien/llvm-SVN/llvm/tools/clang/Basic/../include/clang/ 
> Basic/SourceLocation.h:212:
> error: 'NULL' was not declared in this scope
> make[1]: ***
> [/data/ngi/ebastien/llvm-SVN/llvm/tools/clang/Basic/Release/ 
> Diagnostic.o]
> Error 1
> make[1]: Leaving directory
> `/data/ngi/ebastien/llvm-SVN/llvm/tools/clang/Basic'
> make: *** [all] Error 1
>
> It was fine with r44790.
> Regards,
> Emmanuel Bastien
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list