src/FDM/JSBSim/FGFDMExec.cpp:214:14: error: ordered comparison between pointer and zero ('unsigned int *' and 'int') if (FDMctr > 0) (*FDMctr)--; ~~~~~~ ^ ~ build log: http://sprunge.us/YEKE regressed by: https://github.com/llvm-mirror/clang/commit/4b6ad14285f3
Created attachment 179166 [details] Patch Hi Jan, Thanks for taking care of that. Can you confirm that this patch (put into the files/ directory of the port) fixes the issue ? Thank you very much, Best regards, Ganael.
Comment on attachment 179166 [details] Patch src/FDM/JSBSim/input_output/FGInputSocket.cpp:195:25: error: ordered comparison between pointer and zero ('JSBSim::FGPropertyNode *' and 'int') } else if (node > 0) { ~~~~ ^ ~ build log: http://sprunge.us/hLCh
A commit references this bug: Author: martymac Date: Sat Jan 21 21:23:46 UTC 2017 New revision: 432081 URL: https://svnweb.freebsd.org/changeset/ports/432081 Log: Fix build with Clang 4.0.0 PR: 216203 Submitted by: jbeich Changes: head/games/flightgear/Makefile head/games/flightgear/files/patch-CLANG_4.txt
I could reproduce build problems with clang-devel-5.0.d20170114_1. I've just committed a fix for those build errors. Thanks Jan !
I confirm, it builds fine on /projects/clang400-import@312309 i386: http://sprunge.us/AHgR
Perfect, thanks again :)