This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: 2.95: nested constructors seem to cause unwarranted error inthis situation.
- To: "Martin v. Loewis" <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Subject: Re: 2.95: nested constructors seem to cause unwarranted error inthis situation.
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Fri, 13 Aug 1999 20:30:56 +0200 (MET DST)
- cc: christopher at baus dot net, gcc-bugs at gcc dot gnu dot org
On Fri, 6 Aug 1999, Martin v. Loewis wrote:
> Thanks for your bug report. This is a known bug; g++ gets confused
> whether this is could be a function declaration. To work around, say
>
> C c((B(A(1))), B(A(2)) );
> [...]
> P.S. It looks like this should get on the known-bugs-list.
Agreed, yes. Would you mind contributing one or two paragraphs? ;-)
Gerald
--
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/