This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: g++ and 'public virtual'
- To: Jason Merrill <jason at cygnus dot com>
- Subject: Re: g++ and 'public virtual'
- From: Andrey Slepuhin <pooh at msu dot ru>
- Date: Thu, 06 Nov 1997 22:26:39 +0300
- CC: egcs-bugs at cygnus dot com
- Organization: Moscow State University
- References: <Pine.ULT.3.95.970917214818.11050A-100000.cygnus.egcs.bugs@irz301.inf.tu-dresden.de> <u9oh42vquu.fsf@yorick.cygnus.com>
- Reply-To: pooh at msu dot ru
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