Re: C++ initialization problem with nested constructors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux