g++4.0 diagnostic on casting a static const member initializer to a double
Gabriel Dos Reis
gdr@integrable-solutions.net
Mon Jan 31 20:09:00 GMT 2005
Fariborz Jahanian <fjahanian@apple.com> writes:
[...]
| Thanks. Problem here is that the static data member is not of type
| const intergal/enum, so it can not specify
| an initializer in its class declaration. A better diagnostic should
| probably mention this.
I agree. Would you mind submitting a patch along the line you just
outlined?
-- Gaby
More information about the Gcc
mailing list