[Bug 198202] Fix emulators/open-vm-tools build with clang 3.6.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 2 20:07:19 UTC 2015


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

            Bug ID: 198202
           Summary: Fix emulators/open-vm-tools build with clang 3.6.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: swills at FreeBSD.org
          Reporter: dim at FreeBSD.org
             Flags: maintainer-feedback?(swills at FreeBSD.org)
          Assignee: swills at FreeBSD.org

Created attachment 153689
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=153689&action=edit
Add unused attribute to hand-rolled static_assert constructs

During the exp-run in bug 197395, it was found that emulators/open-vm-tools and
emulators/open-vm-tools-nox11 give errors with clang 3.6.0:

http://package18.nyi.freebsd.org/data/headamd64PR197395-default/2015-02-27_12h37m16s/logs/errors/open-vm-tools-1280544_10,1.log

This is because (part of) the code is compiled with -Werror, and unused local
typedefs, which are used for compile-time assertions, are now warned about. 
The attached patch fixes this by adding an unused attribute.

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


More information about the freebsd-ports-bugs mailing list