Build error
Dimitry Andric
dim at FreeBSD.org
Fri Aug 29 17:02:16 UTC 2014
On 29 Aug 2014, at 18:31, Sinha, Prokash <psinha at panasas.com> wrote:
> I was trying to build the latest from the svn trunk - clang/llvm -
>
> langAttrEmitter.cpp:994:29: error: 'SimpleArgument' does not refer to a value
> Ptr = llvm::make_unique<SimpleArgument>(Arg, Attr, "int");
> ^
> ClangAttrEmitter.cpp:216:9: note: declared here
> class SimpleArgument : public Argument {
> ^
> ClangAttrEmitter.cpp:994:45: warning: expression result unused [-Wunused-value]
> Ptr = llvm::make_unique<SimpleArgument>(Arg, Attr, "int");
> ^~~
> ClangAttrEmitter.cpp:994:50: warning: expression result unused [-Wunused-value]
> Ptr = llvm::make_unique<SimpleArgument>(Arg, Attr, "int");
> ^~~~
> ClangAttrEmitter.cpp:996:17: error: no member named 'make_unique' in namespace 'llvm'
> Ptr = llvm::make_unique<StringArgument>(Arg, Attr);
> ~~~~~~^
>
> Any suggestion?
Completely clean out /usr/obj, and try again.
-Dimitry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-toolchain/attachments/20140829/a08b23b7/attachment.sig>
More information about the freebsd-toolchain
mailing list