Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Oct 2015 09:21:11 +0100
From:      David Chisnall <theraven@FreeBSD.org>
To:        Mark Millard <markmi@dsl-only.net>
Cc:        FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>
Subject:   Re: powerpc64-xtoolchain-gcc/powerpc64-gcc gets libcxxrt/guard.cc:104:15: error: expected constructor, destructor, . . . for lib32 (clang 3.6.1 context)
Message-ID:  <A7A5E829-EB88-4D0B-919F-5403CB966EE3@FreeBSD.org>
In-Reply-To: <C5A031FF-4CDE-4B37-9CB1-A9F5224EEC52@dsl-only.net>
References:  <C5A031FF-4CDE-4B37-9CB1-A9F5224EEC52@dsl-only.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12 Oct 2015, at 03:17, Mark Millard <markmi@dsl-only.net> wrote:
>=20
> /usr/src/lib/libcxxrt/../../contrib/libcxxrt/guard.cc:104:15: error: =
expected constructor, destructor, or type conversion before '(' token
> _Static_assert(sizeof(guard_t) =3D=3D sizeof(uint64_t), "");

I think that this is the error that you get with old gcc when a static =
assert fails.  What is the type of guard_t on PPC64?  It may simply be =
that gcc isn=E2=80=99t providing the correct #defines to let the file =
know that it=E2=80=99s a 64-bit target.

David




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A7A5E829-EB88-4D0B-919F-5403CB966EE3>