This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: "using" directive bug


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
> >


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