C++ parser bug

Leonid A. Broukhis leob@best.com
Sat Sep 26 02:33:00 GMT 1998


With gcc version egcs-2.90.27 980315 (egcs-1.0.2 release)

compiling the following file
----------------------------
struct x {
const int a = 1;
const int b = +1;
};
----------------------------

yields

3: field initializer is not constant

	Leo



More information about the Gcc-bugs mailing list