This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/88: [parser] ctor/var ambiguity
- From: nathan at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, martin at loewis dot home dot cs dot tu-berlin dot de, nobody at gcc dot gnu dot org, rosbacke at nada dot kth dot se
- Date: 18 Dec 2001 19:51:19 -0000
- Subject: Re: c++/88: [parser] ctor/var ambiguity
- Reply-to: nathan at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, martin at loewis dot home dot cs dot tu-berlin dot de, nobody at gcc dot gnu dot org, rosbacke at nada dot kth dot se, gcc-gnats at gcc dot gnu dot org
Old Synopsis: GCC do not honor casting when calling constructors from constructors
New Synopsis: [parser] ctor/var ambiguity
State-Changed-From-To: analyzed->suspended
State-Changed-By: nathan
State-Changed-When: Tue Dec 18 11:51:18 2001
State-Changed-Why:
This is a parsing problem, to g++ this looks like
a declaration of local variable Hvec of type Camera2
initialized with (0, 0, 0), but with an extra pair of
parentheses. That extra pair of parentheses are not allowed
by the grammer. Anyway suspended until the new parser
gets merged.[p
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=88