Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2018 23:57:53 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Michael Grimm <trashcan@ellael.org>
Cc:        Mailing List FreeBSD Ports <freebsd-ports@FreeBSD.org>
Subject:   Re: FreeBSD 11.1-STABLE #0 r331865: geomWatch compilation fails
Message-ID:  <03903203-1A23-45FB-B5D0-8514BF27795B@FreeBSD.org>
In-Reply-To: <C52C521E-1E7B-45C4-B5CC-CC6EE0446539@ellael.org>
References:  <C52C521E-1E7B-45C4-B5CC-CC6EE0446539@ellael.org>

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

--Apple-Mail=_5177B3C3-59D2-49DF-B139-57FD1B70B766
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 2 Apr 2018, at 21:33, Michael Grimm <trashcan@ellael.org> wrote:
>=20
> since the recent upgrade of llvm et al in STABLE-11.1 geomWatch fails =
to compile (poudriere):
>=20
> In file included from geomWatch.cpp:41:
> In file included from ./zpool.hpp:35:
> In file included from =
zfs/v28/cddl/contrib/opensolaris/lib/libzfs/common/libzfs.h:38:
> In file included from =
zfs/v28/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_ioctl.h:30:=

> In file included from =
zfs/v28/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio.h:29:
> In file included from =
zfs/v28/cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h:83:=

> zfs/v28/sys/cddl/contrib/opensolaris/uts/common/sys/sysevent.h:79:37: =
error: invalid suffix on literal; C++11 requires a space between literal =
and identifier [-Wreserved-user-defined-literal]
> #define SUNW_KERN_PUB   SUNW_VENDOR":"SE_KERN_PUB
>                                      ^
>=20
> zfs/v28/sys/cddl/contrib/opensolaris/uts/common/sys/sysevent.h:80:36: =
error: invalid suffix on literal; C++11 requires a space between literal =
and identifier [-Wreserved-user-defined-literal]
> #define SUNW_USR_PUB    SUNW_VENDOR":"SE_USR_PUB
>                                      ^

This can be fixed either by adding spaces before the double quotes, or
it can be worked around by adding USE_CXXSTD=3Dgnu++98 in the port
Makefile.

-Dimitry


--Apple-Mail=_5177B3C3-59D2-49DF-B139-57FD1B70B766
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCWsKnYQAKCRCwXqMKLiCW
o+0IAJ9xEv6Wr+En4m+LtbO32aKDcxTDbACdG8f+W6pHPrnV2YUKGAuFWF782lY=
=zfL4
-----END PGP SIGNATURE-----

--Apple-Mail=_5177B3C3-59D2-49DF-B139-57FD1B70B766--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?03903203-1A23-45FB-B5D0-8514BF27795B>