Bug 216198 - graphics/iccexamin: fails to build with clang 4.0
Summary: graphics/iccexamin: 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: Boris Samorodov
URL:
Keywords: needs-patch
Depends on:
Blocks: 216008
  Show dependency treegraph
 
Reported: 2017-01-17 23:00 UTC by Jan Beich
Modified: 2017-03-16 10:28 UTC (History)
0 users

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


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-17 23:00:39 UTC
icc_profile_tags.cpp:352:28: error: ordered comparison between pointer and zero ('char *' and 'int')
    while (strchr(txt, 13) > 0) { // \r 013 0x0d
           ~~~~~~~~~~~~~~~ ^ ~
icc_profile_tags.cpp:357:15: error: ordered comparison between pointer and zero ('char *' and 'int')
      if (pos > 0) {
          ~~~ ^ ~

build log: http://sprunge.us/DDTg
regressed by: https://github.com/llvm-mirror/clang/commit/4b6ad14285f3
Comment 1 Boris Samorodov freebsd_committer 2017-03-16 10:28:32 UTC
The build is fixed as of rev. ports/436264.