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.

Thanks

Vivian


_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to