Re: [C/C++] same warning/error, different text

2006-12-04 Thread Gabriel Dos Reis
Mark Mitchell <[EMAIL PROTECTED]> writes: | 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 | >

Re: [C/C++] same warning/error, different text

2006-12-03 Thread Mark Mitchell
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 p

[C/C++] same warning/error, different text

2006-12-01 Thread Manuel López-Ibáñez
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 The code in C is error ("enumerator value for %qE is not an integer constant", name); and in C++ is