Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Aug 2014 19:01:55 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        "Sinha, Prokash" <psinha@panasas.com>
Cc:        "freebsd-toolchain@freebsd.org" <freebsd-toolchain@freebsd.org>
Subject:   Re: Build error 
Message-ID:  <CB6133B7-74E7-43AA-A94D-32179A08BC2E@FreeBSD.org>
In-Reply-To: <D025F8D5.1444%psinha@panasas.com>
References:  <D025F8D5.1444%psinha@panasas.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_923FA3E7-3325-40A2-8295-5F79D8C7F58D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 29 Aug 2014, at 18:31, Sinha, Prokash <psinha@panasas.com> wrote:
> I was trying to build the latest from the svn trunk  - clang/llvm -
>=20
> langAttrEmitter.cpp:994:29: error: 'SimpleArgument' does not refer to =
a value
>    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-value]
>    Ptr =3D llvm::make_unique<SimpleArgument>(Arg, Attr, "int");
>                                            ^~~
> ClangAttrEmitter.cpp:994:50: warning: expression result unused =
[-Wunused-value]
>    Ptr =3D llvm::make_unique<SimpleArgument>(Arg, Attr, "int");
>                                                 ^~~~
> ClangAttrEmitter.cpp:996:17: error: no member named 'make_unique' in =
namespace 'llvm'
>    Ptr =3D llvm::make_unique<StringArgument>(Arg, Attr);
>          ~~~~~~^
>=20
> Any suggestion?

Completely clean out /usr/obj, and try again.

-Dimitry


--Apple-Mail=_923FA3E7-3325-40A2-8295-5F79D8C7F58D
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)

iEYEARECAAYFAlQAsgcACgkQsF6jCi4glqMAtACdHp64pVWO/P14WgHE9HfIKtI+
9BIAniBRICwhLDnN7j5J12T+rkJqbU5h
=hhbB
-----END PGP SIGNATURE-----

--Apple-Mail=_923FA3E7-3325-40A2-8295-5F79D8C7F58D--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CB6133B7-74E7-43AA-A94D-32179A08BC2E>