This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: g++4.0 diagnostic on casting a static const member initializer to a double
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