Bug 195666

Summary: Fix lang/v8 build with clang 3.5.0
Product: Ports & Packages Reporter: Dimitry Andric <dim>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Many People CC: emaste
Priority: --- Flags: bugzilla: maintainer-feedback? (sunpoet)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 195480    
Attachments:
Description Flags
Fix lang/v8 build with clang 3.5.0 none

Description Dimitry Andric freebsd_committer freebsd_triage 2014-12-04 01:48:16 UTC
Created attachment 150168 [details]
Fix lang/v8 build with clang 3.5.0

In bug 195480, I asked for an exp-run with clang 3.5.0.  One of the failures from that exp-run is in lang/v8, which fails with a number of -Werror warnings.

The least painful solution is to simply squelch the warnings.  This is already handled by a part in the Makefile which tests for the compiler type and version.

This patch adds another part that disables -Wtautological-undefined-compare for clang 3.5.0 and higher.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-12-04 01:48:16 UTC
Auto-assigned to maintainer sunpoet@FreeBSD.org
Comment 2 commit-hook freebsd_committer freebsd_triage 2014-12-05 17:13:18 UTC
A commit references this bug:

Author: sunpoet
Date: Fri Dec  5 17:12:43 UTC 2014
New revision: 374059
URL: https://svnweb.freebsd.org/changeset/ports/374059

Log:
  - Fix build with clang 3.5.0

  PR:		ports/195666
  Submitted by:	dim

Changes:
  head/lang/v8/Makefile
  head/lang/v8-devel/Makefile