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 in this situation.
- To: christopher at baus dot net
- Subject: Re: 2.95: nested constructors seem to cause unwarranted error in this situation.
- From: "Martin v. Loewis" <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Fri, 6 Aug 1999 21:54:02 +0200
- CC: gcc-bugs at gcc dot gnu dot org
- References: <006201bedf26$ca26e310$5000a8c0@styleadvisor.com>
> C c( B(A(1)), B(A(2)) );
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)) );
Regards,
Martin
P.S. It looks like this should get on the known-bugs-list.