sprite.cc:354:16: error: ordered comparison between pointer and zero ('SDL_Surface *' and 'long') if(Image[i]<=NULL) { ~~~~~~~~^ ~~~~ sprite.cc:488:14: error: ordered comparison between pointer and zero ('SDL_Surface *' and 'long') if(Image[0]<=NULL) { ~~~~~~~~^ ~~~~ build log: http://package18.nyi.freebsd.org/data/headamd64PR216008-default/2017-01-29_16h09m05s/logs/errors/Ri-li-2.0.1_7.log regressed by: https://github.com/llvm-mirror/clang/commit/4b6ad14285f3
Should be fixed with r433036.
There's one more: tableau.cc:90:9: error: ordered comparison between pointer and zero ('unsigned char *' and 'int') if(Buf<=0) return false; ~~~^ ~
http://package18.nyi.freebsd.org/data/headi386PR216008-default/2017-02-02_16h22m03s/logs/errors/Ri-li-2.0.1_7.log
A commit references this bug: Author: amdmi3 Date: Fri Feb 10 17:12:23 UTC 2017 New revision: 433815 URL: https://svnweb.freebsd.org/changeset/ports/433815 Log: - Fix build with clang 4.0 PR: 216626 Changes: head/games/ri-li/files/patch-src_tableau.cc