> AFter a fresh plib/simgear/flightgear build, I got a successful plib and > simgear build, but got tripped up in FlightGear due to a problem with > SimGear as follows:
Stupid me. I worded the problem incorrectly. Obviously, the problem is with a compile of the FlightGear test program, with the definition or use of "min". > === start === > > g++ -g -O2 -D_REENTRANT -L/usr/local/lib -o test-text.exe test-text.o > if > g++ -DHAVE_CONFIG_H -I. -I. -I../src/Include > -I/usr/local/include -g -O2 > -D_REENTRANT -MT test-up.o -MD -MP -MF ".deps/test-up.Tpo" -c -o test-up.o > test-up.cxx; \ > then mv -f ".deps/test-up.Tpo" ".deps/test-up.Po"; else rm -f > ".deps/test-up.Tpo"; exit 1; fi > In file included from /usr/local/include/simgear/math/SGMath.hxx:27, > from /usr/local/include/simgear/math/point3d.hxx:55, > from /usr/local/include/simgear/math/sg_geodesy.hxx:4, > from test-up.cxx:10: > /usr/local/include/simgear/math/SGMisc.hxx:28: error: expected > unqualified-id before "const" > /usr/local/include/simgear/math/SGMisc.hxx:28: error: expected `)' before > "const" > /usr/local/include/simgear/math/SGMisc.hxx:28: error: expected `)' before > "const" > In file included from /usr/local/include/simgear/math/SGMath.hxx:27, > from /usr/local/include/simgear/math/point3d.hxx:55, > from /usr/local/include/simgear/math/sg_geodesy.hxx:4, > from test-up.cxx:10: > /usr/local/include/simgear/math/SGMisc.hxx:30:50: macro "min" passed 3 > arguments, but takes just 2 > /usr/local/include/simgear/math/SGMisc.hxx:31: error: invalid member > function declaration > > === end === > > Anyone else see this? > > Jon > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking > scripting language > that extends applications into web and mobile media. Attend the > live webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Flightgear-devel mailing list > Flightgear-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flightgear-devel ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel