This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ initialization problem with nested constructors


Stuart Brooks skrev:
I have picked up what I think could be a parsing bug on gcc 3.3.3 to do with nested constructors being evaluated as a function definition. The stripped down code below fails to compile. I've had a look through Stroustrup's 'The C++ Programming Language' and googled around this but nothing jumped out at me. Constructing using = works.
I get the error on gcc 4.1.1. It looks like a bug. (Tell me the bug # so I can subscribe to it.)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]