This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: g++ and 'public virtual'


Jason Merrill wrote:
> 
> >>>>> Thomas Weise <tw4@irz301.inf.tu-dresden.de> writes:
> 
> > # > g++ oops.cc
> > oops.cc: In method `void oops::__duplicate()':
> > oops.cc:3: `void foo::__duplicate()' is protected
> > oops.cc:17: within this context
> 
> This fixes the testcase without fixing the design flaw:
 
I tried your patch because I reported a similar problem. Happily,
this solved my problem with OmniBroker, but a test example still
fails to compile (see my letter at October,25).

Andrey


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]