Bug 216222 - emulators/mame, emulators/mess: fails to build with clang 4.0
Summary: emulators/mame, emulators/mess: fails to build with clang 4.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jan Beich
URL:
Keywords: needs-patch
Depends on:
Blocks: 216008
  Show dependency treegraph
 
Reported: 2017-01-18 10:19 UTC by Jan Beich
Modified: 2017-02-02 21:26 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer 2017-01-18 10:19:53 UTC
../../../../../src/emu/webengine.c:333:21: error: ordered comparison between pointer and zero ('int *' and 'int')
                if ((&data_length > 0) && (sizeof(file_name) > 0))
                     ~~~~~~~~~~~~ ^ ~

regressed by: https://github.com/llvm-mirror/clang/commit/4b6ad14285f3
Comment 1 Jan Beich freebsd_committer 2017-02-02 21:26:12 UTC
The fix landed in ports r433134.