Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Aug 2014 16:31:02 +0000
From:      "Sinha, Prokash" <psinha@panasas.com>
To:        "freebsd-toolchain@freebsd.org" <freebsd-toolchain@freebsd.org>
Subject:   Build error 
Message-ID:  <D025F8D5.1444%psinha@panasas.com>

next in thread | raw e-mail | index | archive | help
I was trying to build the latest from the svn trunk  - clang/llvm -

langAttrEmitter.cpp:994:29: error: 'SimpleArgument' does not refer to a val=
ue
    Ptr =3D 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-va=
lue]
    Ptr =3D llvm::make_unique<SimpleArgument>(Arg, Attr, "int");
                                            ^~~
ClangAttrEmitter.cpp:994:50: warning: expression result unused [-Wunused-va=
lue]
    Ptr =3D llvm::make_unique<SimpleArgument>(Arg, Attr, "int");
                                                 ^~~~
ClangAttrEmitter.cpp:996:17: error: no member named 'make_unique' in namesp=
ace 'llvm'
    Ptr =3D llvm::make_unique<StringArgument>(Arg, Attr);
          ~~~~~~^

Any suggestion?

Thanks
-prokash



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D025F8D5.1444%psinha>