Git version cloned from http://mapserver.flightgear.org/git/atlas
The build fails in misc.cxx at double magneticVariation(double lat, double lon, double elev).
This function calls SGTime::update with incorrect arguments resulting in the error:
misc.cxx: In function ‘double magneticVariation(double, double, double)’:
misc.cxx:404:29: error: no matching function for call to ‘SGTime::update(double&, double&, int, int)’
misc.cxx:404:29: note: candidate is:
In file included from misc.cxx:35:0:
/usr/local/include/simgear/timing/sg_time.hxx:149:10: note: void SGTime::update(const SGGeod&, time_t, long int)
/usr/local/include/simgear/timing/sg_time.hxx:149:10: note: candidate expects 3 arguments, 4 provided
make[3]: *** [misc.o] Error 1
The cvs version also fails with the same error
I compiled this OK on Tue 25 Sep 2012 11:53:51 BST, so I can only suppose there must have been a change to Simgear?
Can anyone help?
Alasdair