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: Block scope using declarations of operators


Richard Smith <richard@ex-parrot.com> writes:

| On 10 Jul 2002, Gabriel Dos Reis wrote:
| 
| > Richard Smith <richard@ex-parrot.com> writes:
| >
| > | Gcc's C++ grammar does not accept block scope using declarations of
| > | operators, e.g.
| >
| > This is a long standing misbehaviour in GCC (already present the 2.95
| > series).
| 
| Yes, I'd noticed that too, although I couldn't find a PR for it.
| 
| Are there any particular reasons why it hadn't been fixed yet?  Or is it
| just lack of time/enthusiasm.  Unless I'm missing something the fix ought
| to be quite straight-forward.

I got caught by that misbehaviour in the past, but didn't put it on the
top on my TODO list.  I think it was fixed by lack of time, not lack
of enthusiasm.

| > Although serious, I'm not sure it qualifies as a regression.
| 
| Yes, I agree.  Development for 3.2 is only in stage 2, so might it be
| appropriate to apply it there?


Yes, I think 3.2 should be the right place.  After 3.1.1 release, we
might raise the issue again for 3.1.x, but it is Mark's call.

-- Gaby


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