[cfe-dev] build error in clang

Chris Lattner clattner at apple.com
Fri Jul 17 08:22:24 PDT 2009


On Jul 17, 2009, at 2:22 AM, Stathis Kamperis wrote:

> Salute!
>
> Building clang under DragonFlyBSD gives me this:
> ...
> gmake[2]: Leaving directory `/home/beket/llvm/tools/clang/tools/ 
> clang-cc'
> gmake[2]: Entering directory `/home/beket/llvm/tools/clang/tools/ 
> driver'
> llvm[2]: Compiling driver.cpp for Release build
> driver.cpp: In function 'void ApplyQAOverride(std::vector<const char*,
> std::allocator<const char*> >&, const char*,
> std::set<std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >, std::less<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > >,
> std::allocator<std::basic_string<char, std::char_traits<char>,
> std::allocator<char> > > >&)':
> driver.cpp:162: error: 'nulls' is not a member of 'llvm'

Make sure to update your llvm tree.  Clang often depends on new bits  
from llvm, so it's a good idea to do something like:

cd ~/llvm; svn up ; svn up tools/clang; make

-Chris




More information about the cfe-dev mailing list