tads3/vmtz.cpp:1985:30: error: ordered comparison between pointer and zero ('vmtz_trans *' and 'int') result->set(tcur > 0 ? tcur - 1 : tcur); ~~~~ ^ ~ build log: http://sprunge.us/bbeQ regressed by: https://github.com/llvm-mirror/clang/commit/4b6ad14285f3
games/frobtads needs the same fix. tads3/vmtz.cpp:1987:30: error: ordered comparison between pointer and zero ('vmtz_trans *' and 'int') result->set(tcur > 0 ? tcur - 1 : tcur); ~~~~ ^ ~ build log: http://sprunge.us/PESC
It seems there is an updated version of this file: https://github.com/realnc/qtads/blob/master/tads3/vmtz.cpp#L2049
Created attachment 179480 [details] Patch for fixing build with clang 4.0 I think the upstream change found by Tobias should work. Attached patch for fixing build with clang 4.0.
Created attachment 179482 [details] Patch for qtads. (fix build and upgrade to 2.1.7) Add another patch for qtads. * Fix the build with clang 4.0 with the same patch * Upgrade to 2.1.7
A commit references this bug: Author: jbeich Date: Wed Feb 1 05:26:09 UTC 2017 New revision: 432973 URL: https://svnweb.freebsd.org/changeset/ports/432973 Log: games/frobtads: unbreak with clang 4.0 tads3/vmtz.cpp:1987:30: error: ordered comparison between pointer and zero ('vmtz_trans *' and 'int') result->set(tcur > 0 ? tcur - 1 : tcur); ~~~~ ^ ~ PR: 216357 Reported by: antoine (via exp-run) Submitted by: kaiwang27@gmail.com (maintainer) Changes: head/games/frobtads/Makefile head/games/frobtads/files/ head/games/frobtads/files/patch-tads3_vmtz.cpp
A commit references this bug: Author: jbeich Date: Wed Feb 1 05:26:23 UTC 2017 New revision: 432974 URL: https://svnweb.freebsd.org/changeset/ports/432974 Log: games/qtads: unbreak with clang 4.0 tads3/vmtz.cpp:1985:30: error: ordered comparison between pointer and zero ('vmtz_trans *' and 'int') result->set(tcur > 0 ? tcur - 1 : tcur); ~~~~ ^ ~ PR: 216357 Reported by: antoine (via exp-run) Submitted by: kaiwang27@gmail.com (maintainer) Changes: head/games/qtads/Makefile head/games/qtads/files/patch-tads3_vmtz.cpp
A commit references this bug: Author: jbeich Date: Wed Feb 1 05:30:00 UTC 2017 New revision: 432990 URL: https://svnweb.freebsd.org/changeset/ports/432990 Log: games/qtads: update to 2.1.7 Changes: https://github.com/realnc/qtads/compare/2.1.6...2.1.7 PR: 216357 Submitted by: kaiwang27@gmail.com (maintainer) MFH: 2017Q1 Changes: head/games/qtads/Makefile head/games/qtads/distinfo
A commit references this bug: Author: jbeich Date: Thu Feb 2 07:34:59 UTC 2017 New revision: 433125 URL: https://svnweb.freebsd.org/changeset/ports/433125 Log: MFH: r432973 r432974 games/frobtads, games/qtads: unbreak with clang 4.0 tads3/vmtz.cpp:1987:30: error: ordered comparison between pointer and zero ('vmtz_trans *' and 'int') result->set(tcur > 0 ? tcur - 1 : tcur); ~~~~ ^ ~ PR: 216357 Reported by: antoine (via exp-run) Submitted by: kaiwang27@gmail.com (maintainer) Approved by: ports-secteam blanket Changes: _U branches/2017Q1/ branches/2017Q1/games/frobtads/Makefile branches/2017Q1/games/frobtads/files/ branches/2017Q1/games/qtads/Makefile branches/2017Q1/games/qtads/files/patch-tads3_vmtz.cpp
A commit references this bug: Author: jbeich Date: Thu Feb 2 07:36:39 UTC 2017 New revision: 433126 URL: https://svnweb.freebsd.org/changeset/ports/433126 Log: MFH: r432990 games/qtads: update to 2.1.7 Changes: https://github.com/realnc/qtads/compare/2.1.6...2.1.7 PR: 216357 Submitted by: kaiwang27@gmail.com (maintainer) Approved by: ports-secteam (delphij) Changes: _U branches/2017Q1/ branches/2017Q1/games/qtads/Makefile branches/2017Q1/games/qtads/distinfo