FreeBSD 11.1-STABLE #0 r331865: geomWatch compilation fails

Dimitry Andric dim at FreeBSD.org
Mon Apr 2 21:57:55 UTC 2018


On 2 Apr 2018, at 21:33, Michael Grimm <trashcan at ellael.org> wrote:
> 
> since the recent upgrade of llvm et al in STABLE-11.1 geomWatch fails to compile (poudriere):
> 
> 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
>                                      ^
> 
> 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=gnu++98 in the port
Makefile.

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20180402/97fa6def/attachment.sig>


More information about the freebsd-ports mailing list