Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Dec 2016 23:18:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 215366] emulators/open-vm-tools: hgfs component doesn't compile (undefined behavior with #define; clang 3.9.0+)
Message-ID:  <bug-215366-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215366

            Bug ID: 215366
           Summary: emulators/open-vm-tools: hgfs component doesn't
                    compile (undefined behavior with #define; clang
                    3.9.0+)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: swills@FreeBSD.org
          Reporter: ngie@FreeBSD.org
          Assignee: swills@FreeBSD.org
             Flags: maintainer-feedback?(swills@FreeBSD.org)

--- hgfsServerLinux.lo ---
hgfsServerLinux.c:1989:8: error: macro expansion producing 'defined' has
undefined behavior [-Werror,-Wexpansion-to-defined]
#   if __IS_FREEBSD_VER__(500043)
       ^
/home/ngie/nfs/git/freebsd-ports~/emulators/open-vm-tools/work/open-vm-tool=
s-9.4.0-1280544/lib/include/vm_basic_defs.h:85:34:
note: expanded from macro '__IS_FREEBSD_VER__'
#define __IS_FREEBSD_VER__(ver) (__IS_FREEBSD__ && __FreeBSD_version >=3D (=
ver))
                                 ^
/home/ngie/nfs/git/freebsd-ports~/emulators/open-vm-tools/work/open-vm-tool=
s-9.4.0-1280544/lib/include/vm_basic_defs.h:84:26:
note: expanded from macro '__IS_FREEBSD__'
#define __IS_FREEBSD__ (!defined(VMKERNEL) && defined(__FreeBSD__))
                         ^
hgfsServerLinux.c:1989:8: error: macro expansion producing 'defined' has
undefined behavior [-Werror,-Wexpansion-to-defined]
/home/ngie/nfs/git/freebsd-ports~/emulators/open-vm-tools/work/open-vm-tool=
s-9.4.0-1280544/lib/include/vm_basic_defs.h:85:34:
note: expanded from macro '__IS_FREEBSD_VER__'
#define __IS_FREEBSD_VER__(ver) (__IS_FREEBSD__ && __FreeBSD_version >=3D (=
ver))
                                 ^
/home/ngie/nfs/git/freebsd-ports~/emulators/open-vm-tools/work/open-vm-tool=
s-9.4.0-1280544/lib/include/vm_basic_defs.h:84:47:
note: expanded from macro '__IS_FREEBSD__'
#define __IS_FREEBSD__ (!defined(VMKERNEL) && defined(__FreeBSD__))
                                              ^
2 errors generated.
*** [hgfsServerLinux.lo] Error code 1

make[4]: stopped in
/home/ngie/nfs/git/freebsd-ports~/emulators/open-vm-tools/work/open-vm-tool=
s-9.4.0-1280544/lib/hgfsServer

$ uname -a
FreeBSD  12.0-CURRENT FreeBSD 12.0-CURRENT #0
r310128+9d52c8cacb7d(bsnmp-improved-ipv6-support): Sat Dec 17 14:23:33 PST =
2016
    ngie@fbsd12:/usr/obj/usr/src/git/sys/GENERIC-NODEBUG  amd64

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



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