[Bug 227209] [patch] sysutils/geomWatch stable/11-llvm6 (r331838) fallout [-W reserved-user-defined-literal]

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 2 18:16:16 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227209

            Bug ID: 227209
           Summary: [patch] sysutils/geomWatch stable/11-llvm6 (r331838)
                    fallout [-W reserved-user-defined-literal]
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: bugzilla.freebsd at omnilan.de
                CC: spawk at acm.poly.edu
                CC: spawk at acm.poly.edu
             Flags: maintainer-feedback?(spawk at acm.poly.edu)

Created attachment 192113
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192113&action=edit
zfs-sysevent.h: Insert whitespaces for C++11 compile werror.

After r331838, geomwatch fails to compile with:
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 [-W
reserved-user-defined-literal]                                                  
#define SUNW_KERN_PUB   SUNW_VENDOR":"SE_KERN_PUB

Attached is q q'n'd patch to sysutils/geomWatch (the port).

-harry

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list