Vivian Meazza wrote > > Andy Ross > > > > Vivian Meazza discovered: > > > AIFlightPlan.cxx:69: error: passing `const std::string' as `this' > > argument > > > of `std::basic_string<_CharT, _Traits, _Alloc>& > > std::basic_string<_CharT, > > > _Traits, _Alloc>::operator=(const _CharT*) [with _CharT = char, > _Traits > > = > > > std::char_traits<char>, _Alloc = std::allocator<char>]' discards > > > qualifiers > > > > Heh, don't you just *love* C++ error messages? :) > > Translated: > > > > AIFlightPlan.cxx:69: error: passing `const string' as `this' argument > > of `string::operator=()' discards qualifiers > > > > You can't assign to a const object, basically. No idea why this > compiles > > correctly on other platforms... > > > > Cracked that one - I introduced it in correcting others. So all done now. > > Just preparing a diff of the changes that I had to apply to get Cygwin to > compile. >
I attach a diff against CVS - HEAD which I applied to get CVS to compile under Cygwin. It may not be the best or preferred way to do it, but the patch works here, so far as I can see. Regards, Vivian
CVS.diff
Description: Binary data
_______________________________________________ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d