Here are the compiling errors reported by MSVC.

Compiling...
electrical.cxx
d:\FlightGear\cvs\FlightGear\src\Systems\electrical.hxx(83) : error C2248:
'FGElectricalComponent::comp_list' : cannot access private typedef declared
in class 'FGElectricalComponent'
        d:\FlightGear\cvs\FlightGear\src\Systems\electrical.hxx(54) : see
declaration of 'FGElectricalComponent::comp_list'
        d:\FlightGear\cvs\FlightGear\src\Systems\electrical.hxx(52) : see
declaration of 'FGElectricalComponent'
d:\FlightGear\cvs\FlightGear\src\Systems\electrical.hxx(104) : error C2248:
'FGElectricalComponent::comp_list' : cannot access private typedef declared
in class 'FGElectricalComponent'
        d:\FlightGear\cvs\FlightGear\src\Systems\electrical.hxx(54) : see
declaration of 'FGElectricalComponent::comp_list'
        d:\FlightGear\cvs\FlightGear\src\Systems\electrical.hxx(52) : see
declaration of 'FGElectricalComponent'
...

One cannot use in a derived class a private type declared in the base class.
string_list and comp_list have to be made protected at least in class
FGElectricalComponent

Cheers,

-Fred


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

Reply via email to