[cfe-dev] [SafeCode] Unable to build the LLVM from trunk
matthieu.monrocq at gmail.com
Mon May 14 10:04:51 PDT 2012
On Mon, May 14, 2012 at 4:39 PM, John Criswell <criswell at illinois.edu>wrote:
> On 5/14/12 4:32 AM, Umesh Kalappa wrote:
> Hi All ,
> Was trying to build the LLVM src from
> http://llvm.org/svn/llvm-project/llvm/branches/release_30 ,But unable to
> build the same and clang poped up with below error .
> First, it sounds like you're building LLVM 3.0, Poolalloc, and SAFECode
> with an unmodified version of clang. Is this correct? If so, which
> version of Clang are you using?
> Second, what platform are you on?
> -- John T.
> llvm: Compiling IntervalMap.cpp for Debug build
> In file included from
> error: use 'template' keyword to treat 'newNode' as a dependent template
> Node[NewNode] = this->map->newNode<NodeT>();
> 1 error generated.
> make: ***
> [/root/projects/safecode/build/lib/Support/Debug/IntervalMap.o] Error 1
> Any lights will be appreciated on the above issue .
> This an issue in the header itself, indeed the `template` keyword is
necessary to disambiguate between a template method (the case here) and an
attribute compared to some NodeT thing.
It has been fixed on trunk already (now at line 1991).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev