This is the mail archive of the gcc@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: 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


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