Hi Geoff, On Monday 06 August 2007 13:46, Geoff Air wrote: > Hi Durk, > > The file src/Airports/gnnode.hxx declares a function - > > FGTaxiNode(double, double, int); > > Then in parking.hxx, you added - > > : FGTaxiNode(lat,lon,idx); > > about July 5 from the CVS logs ... > > In WIN32, MSVC8 can NOT locate this function, and marks it as a missing > external. >
Thanks for reporting. Incidentally, I have been playing with this code a bit over the last couple of days and also noticed that this constructor, altough declared was never defined. At first, I was also surprised to find that I never got a compilation error, but then I realized that the offending code is never called insside FlightGear. It is only used once inside a FGParking constructor, but that particular constructor is never used. For that reason, I have, in my local source tree, removed the declaration of this constructor. My guess is that it is compiler specific whether declaring but not defining a constructor results in a compilation error. In this specific case, the offending constructor (FGTaxiNode(double, double, int) was called by the constructor of FGParking, which in turn was never called by FlightGear. I'm assuming that MSVC wanted to link in the code for FGTaxiNode(double, double, int), because it found it was used in FGParking. whereas gcc, didn't link in FGParking(double, double,int) in the first place and therefore also didn't bother to link in the code for FGTaxiNode. I will commit the new code shortly, probably tomorrow or the day after tomorrow. I just finished giving it the first round of tests, but still need to remove the debug statements, and do some fine-tuning Cheers, Durk ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel