This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Parse error with member templates
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Matt Austern <austern at apple dot com>
- Cc: Nathan Sidwell <nathan at codesourcery dot com>, gcc at gcc dot gnu dot org
- Date: 14 Sep 2002 01:26:10 +0200
- Subject: Re: Parse error with member templates
- Organization: Integrable Solutions
- References: <DCE84A1E-C75E-11D6-B214-000393B2ABA2@apple.com>
Matt Austern <austern@apple.com> writes:
| On Friday, September 13, 2002, at 01:53 PM, Gabriel Dos Reis wrote:
|
| > Nathan Sidwell <nathan@codesourcery.com> writes:
| >
| > | Matt Austern wrote:
| > |
| > | >
| > | > So, the usual two questions:
| > | > (1) Is there a plausible argument that I'm wrong, and
| > | > that this behavior is correct after all?
| > | > (2) If not, is this a known bug?
| > | you are correct, g++ is wrong, I think the bug is in gnats -
| > | try searching for those with [parser] in the subject (if no
| > | feel free to add it.
| >
| > I'm sure that is a known bug. I just went through our web page in
| > order to provide a reference but I couldn't find it. I would swear we
| > once listed it as a known bug along with the workaround...
|
| 795 looks relevant.
Although 795 is related, I think it is more complicated and slightly
different: Basically it is related to template code and we don't do
good job with template and parsing.
I've finally gotten a reference: C++ PR/1058
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=1058&database=gcc
| Should I add my example to the 795 description, or file a new bug?
Maybe we should add words to that effet to our "Known Bugs" list and
put the above reference there.
Thoughts?
-- Gaby