Bug 195666 - Fix lang/v8 build with clang 3.5.0
Summary: Fix lang/v8 build with clang 3.5.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks: 195480
  Show dependency treegraph
 
Reported: 2014-12-04 01:48 UTC by Dimitry Andric
Modified: 2014-12-05 17:15 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments
Fix lang/v8 build with clang 3.5.0 (462 bytes, patch)
2014-12-04 01:48 UTC, Dimitry Andric
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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