James Turner wrote: > On 31 Oct 2009, at 08:48, Erik Hofman wrote: > >>> I am not sure what line 135 is supposed to catch. When I compile with >>> g++ version 4.2 the statement is false but if I compile with g++ >>> version >>> 4.3 the statement is true. Is the code supposed to catch g++ versions >>> 3.3 and later? If yes, the line 135 should be >>> >>> #if ( (__GNUC__ >= 4 || ( __GNUC__ >= 3 ) && ( __GNUC_MINOR__ >= >>> 3 ) ) >> Ok, I've fixed it slightly different but it's committed. > > I looked at this block and more or less despaired. > > My preferred solution would be to use osg::isNan (or some other > wrapper) and delegate all this pain and #ifdef work to someone else....
Which would mean that every single bit of code in FlightGear will depend on osg.. Erik ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Flightgear-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-devel

