SVN r327433 fails to build

From: Michael Butler <imb_at_protected-networks.net>
Date: Sun, 31 Dec 2017 09:19:21 -0500
An include file change? I couldn't see the cause :-(

The last successful build I have is at SVN r327392.

===> lib/libprocstat (obj,all,install)
Building /usr/obj/usr/src/amd64.amd64/lib/libprocstat/zfs/zfs.o
In file included from /usr/src/lib/libprocstat/zfs.c:41:
/usr/src/cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h:217:9:
error: 'curthread' macro redefined [-Werror,-Wmacro-redefined]
#define curthread       ((void *)(uintptr_t)thr_self())
        ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/machine/pcpu.h:230:9: note:
previous definition is here
#define curthread               (__curthread())
        ^
In file included from /usr/src/lib/libprocstat/zfs.c:41:
/usr/src/cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h:236:9:
error: 'curproc' macro redefined [-Werror,-Wmacro-redefined]
#define curproc         (&p0)
        ^
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/sys/pcpu.h:200:9: note:
previous definition is here
#define curproc         (curthread->td_proc)
        ^
2 errors generated.
Received on Sun Dec 31 2017 - 13:19:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:14 UTC