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


On Sunday 19 January 2003 2:18 pm, Nandkishor P wrote:
>      3      char c;
>      4      (int)c += 4;

This is a documented GNU Extension. I believe there are flags that make GCC 
warn if such extensions are used (might be -pedantic).

Ben


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