Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Mar 2015 20:07:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 198202] Fix emulators/open-vm-tools build with clang 3.6.0
Message-ID:  <bug-198202-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: dim@FreeBSD.org
             Flags: maintainer-feedback?(swills@FreeBSD.org)
          Assignee: swills@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.



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