From: Erik H. <eh...@us...> - 2017-01-22 09:46:51
|
Update of /cvsroot/jsbsim/JSBSim/src In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv8202 Modified Files: FGFDMExec.cpp Log Message: martymac: Fix build with Clang 4.0.0. Those patches fix errors related to ordered comparisons between pointers and integers, such as the ones related here on FreeBSD : https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216203 Index: FGFDMExec.cpp =================================================================== RCS file: /cvsroot/jsbsim/JSBSim/src/FGFDMExec.cpp,v retrieving revision 1.191 retrieving revision 1.192 diff -C2 -r1.191 -r1.192 *** FGFDMExec.cpp 16 May 2016 18:19:57 -0000 1.191 --- FGFDMExec.cpp 22 Jan 2017 09:46:48 -0000 1.192 *************** *** 212,216 **** SetGroundCallback(0); ! if (FDMctr > 0) (*FDMctr)--; Debug(1); --- 212,216 ---- SetGroundCallback(0); ! if (FDMctr != 0) (*FDMctr)--; Debug(1); |