Suppose I have a class with a few protected functions. I want to let another class from the same package call these functions. Thus I've added a "package" attribute and got the following:
Error: conflicting protection attribute 'package' and 'protected'

How can I achieve what I want? These member functions must be protected, I can't make them private because this is a base class intended for inheritance.

Reply via email to