Building todays CVS produced the following error:

        make[1]: Entering directory
        `/home/alasdair/src/flightgear_0.9_cvs/src/Navaids'
        g++ -DHAVE_CONFIG_H -I. -I../../src/Include -I../.. -I../../src
        -I/usr/local/include  -g -O2 -D_REENTRANT -MT fixlist.o -MD -MP
        -MF .deps/fixlist.Tpo -c -o fixlist.o fixlist.cxx
        fixlist.cxx: In member function ‘const FGFix*
        FGFixList::findFirstByIdent(const std::string&,
        FGIdentOrdering*)’:
        fixlist.cxx:157: error: ‘lower_bound’ is not a member of ‘std’
        make[1]: *** [fixlist.o] Error 1
        make[1]: Leaving directory
        `/home/alasdair/src/flightgear_0.9_cvs/src/Navaids'
        make: *** [all-recursive] Error 1
        dominatrix:~/src/flightgear_0.9_cvs/src>
        
I resolved the problem by adding
#include <algorithm>
after the end of the "#include" directives.

I don't know if this is the correct solution or whether this error is
specific to my system (daily updated Debian Sid). I know you are going
to say "Serves you right!", but I enjoy being on the edge. Would not be
enjoying FG CVS otherwise.

Kind regards, Alasdair


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to