This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: "using" directive bug
- From: Hans Utz <hans dot utz at informatik dot uni-ulm dot de>
- To: Lev Assinovsky <LAssinovsky at algorithm dot aelita dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 29 Jan 2003 18:47:01 +0100
- Subject: Re: "using" directive bug
- References: <01612DAA1891D211855D00104BC81B5301E42924@exchange.edr.com>
Sorry, I was totally wrong.
I did some testing with your code and mine.
I can't even reproduce my test case where space killing seemed to help :-(
The using directives of your code work in any namespace. g++ 2.95.3 and 3.2.1
just rejects them within the method.
The new parser in GCC 3.4 accepts it.
Is there a language lawyer to confirm that it's a bug?
Lev Assinovsky wrote:
>
> No, space killing doesn't help :(
>
> ----
> Lev Assinovsky
> Aelita Software Corporation
> O&S Core Division, Programmer
> ICQ# 165072909
>
> > -----Original Message-----
> > From: Hans Utz [mailto:hans.utz@informatik.uni-ulm.de]
> > Sent: Wednesday, January 29, 2003 6:29 PM
> > To: gcc@gcc.gnu.org; Lev Assinovsky
> > Subject: Re: "using" directive bug
> >
> >
> > > using N1::operator ==; //Have an error here
> >
> > Killing the space between operator and == should do the trick.
> >
> > using N1::operator==;
> >
> > I was cought by that a week ago, too.
> > But I don't know, who's fault it is.
> > I'd guess it is ours.
> >
> > HTH,
> > Hans
> >