Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jul 2018 20:03:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        vbox@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 229845] emulators/virtualbox-ose-additions: macro from sys/priority.h conflicts with typedef in VirtualBox-5.2.14/include/VBox/types.h on base/head r336361
Message-ID:  <bug-229845-26505-pQsrWUmTij@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-229845-26505@https.bugs.freebsd.org/bugzilla/>
References:  <bug-229845-26505@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked vbox@FreeBSD.org for
maintainer-feedback:
Bug 229845: emulators/virtualbox-ose-additions: macro from sys/priority.h
conflicts with typedef in VirtualBox-5.2.14/include/VBox/types.h on base/he=
ad
r336361
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229845



--- Description ---
Here's an extract from synth's build log.

In file included from
/construction/xports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2=
.14/
src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR0LibCrOgl.cpp:32:
In file included from
/construction/xports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2=
.14/
src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR0LibInternal.h:59:
In file included from
/construction/xports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2=
.14/
include/VBox/VMMDev.h:31:
/construction/xports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2=
.14/
include/VBox/types.h:78:37:
error: expected unqualified-id
typedef struct VM		   *PVM;
				    ^
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM			(PRI_MIN_KERN + 4)
				 ^
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 'PRI_MIN_KERN'
#define PRI_MIN_KERN		(80)
				 ^
In file included from
/construction/xports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2=
.14/
src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR0LibCrOgl.cpp:32:
In file included from
/construction/xports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2=
.14/
src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR0LibInternal.h:59:
In file included from
/construction/xports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2=
.14/
include/VBox/VMMDev.h:31:
/construction/xports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2=
.14/
include/VBox/types.h:78:37:
error: expected ')'
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM			(PRI_MIN_KERN + 4)
				 ^
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 'PRI_MIN_KERN'
#define PRI_MIN_KERN		(80)
				 ^
/construction/xports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2=
.14/
include/VBox/types.h:78:37:
note: to match this '('
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM			(PRI_MIN_KERN + 4)
				 ^
/usr/src/sys/sys/priority.h:100:23: note: expanded from macro 'PRI_MIN_KERN'
#define PRI_MIN_KERN		(80)
				^

See attached patch for a possible solution.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229845-26505-pQsrWUmTij>