From: Erik H. <eh...@us...> - 2017-01-22 09:46:52
|
Update of /cvsroot/jsbsim/JSBSim/src/input_output In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv8202/input_output Modified Files: FGInputSocket.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: FGInputSocket.cpp =================================================================== RCS file: /cvsroot/jsbsim/JSBSim/src/input_output/FGInputSocket.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** FGInputSocket.cpp 15 Feb 2015 12:04:32 -0000 1.1 --- FGInputSocket.cpp 22 Jan 2017 09:46:48 -0000 1.2 *************** *** 193,197 **** socket->Reply("Must be in HOLD to search properties\n"); } ! } else if (node > 0) { ostringstream buf; buf << argument << " = " << setw(12) << setprecision(6) << node->getDoubleValue() << endl; --- 193,197 ---- socket->Reply("Must be in HOLD to search properties\n"); } ! } else { ostringstream buf; buf << argument << " = " << setw(12) << setprecision(6) << node->getDoubleValue() << endl; |