[Bug 202530] Fix lang/v8 build with clang 3.7.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 20 21:05:02 UTC 2015


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

            Bug ID: 202530
           Summary: Fix lang/v8 build with clang 3.7.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some 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 160156
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=160156&action=edit
Fix various warnings in lang/v8 while building with clang 3.7.0

During the exp-run in bug 201377, it was found that lang/v8 gives errors with a
recent clang 3.7.0 snapshot:

http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-07-31_12h04m22s/logs/errors/v8-3.18.5_1.log

This log only contains the -Werror warnings about printing non-void pointers
with %p, but a newer trunk version of clang also generates a number of warnings
about left-shifting negative numbers.

I have fixed both types of warnings in the attached patch.

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


More information about the freebsd-ports-bugs mailing list