Manuel López-Ibáñez wrote:
> The message for the following error:
> 
> enum e {  E3 = 1 / 0 };
> 
> is in C: error: enumerator value for 'E3' not integer constant
> and in C++: error: enumerator value for 'E3' is not an integer constant
> 
> Is there someone against fixing this? What would be the preferred message?

I slightly prefer the more-grammatical C++ version, but, if there's any
controversy at all, I'm perfectly happy with the C version too, and it's
certainly a good thing to use the same message in both languages.

-- 
Mark Mitchell
CodeSourcery
[EMAIL PROTECTED]
(650) 331-3385 x713

Reply via email to