[Bug 197869] Fix lang/v8 build with clang 3.6.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 20 23:04:06 UTC 2015


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

            Bug ID: 197869
           Summary: Fix lang/v8 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: sunpoet at FreeBSD.org
          Reporter: dim at FreeBSD.org
          Assignee: sunpoet at FreeBSD.org
             Flags: maintainer-feedback?(sunpoet at FreeBSD.org)

Created attachment 153254
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=153254&action=edit
Mark temporary typedefs in static asserts as unused

During the exp-run in bug 197395, it was found that lang/v8 gives errors with
clang 3.6.0:

http://package18.nyi.freebsd.org/data/headamd64PR197395-default/2015-02-11_23h04m51s/logs/errors/v8-3.18.5.log

This is because v8 is compiled with -Werror, and its hand-rolled implementation
of static_assert uses temporary local typedefs.

To fix it, we can use the same approach as used in base, here:
https://svnweb.freebsd.org/base?view=revision&revision=278222

--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Auto-assigned to maintainer sunpoet at FreeBSD.org

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


More information about the freebsd-ports-bugs mailing list