This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Block scope using declarations of operators
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- To: Richard Smith <richard at ex-parrot dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: 10 Jul 2002 16:54:48 +0200
- Subject: Re: Block scope using declarations of operators
- Organization: CodeSourcery, LLC
- References: <Pine.LNX.4.33.0207101525210.30959-100000@sphinx.mythic-beasts.com>
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