Melchior FRANZ writes:

 > ... and now Simgear doesn't compile for me any more. gcc (2.95.2)
 > complains about "sort" and "sprintf" not being found in props.cxx
 > ("implicit declaration of function ..."). Adding
 > 
 >   #include <algo.h>
 >   #include <stdio.h>
 > 
 > helps, but this is probably not what you had in mind. What is the
 > correct fix?

That's almost it.  I ended up adding

  #include <algorithm>
  #include <stdio.h>

This problem didn't show up with g++ 3.0, so I missed it.


All the best,


David

-- 
David Megginson
[EMAIL PROTECTED]


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to