typecast violation ?

Ben Davis bnd25@cam.ac.uk
Sun Jan 19 14:38:00 GMT 2003


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



More information about the Gcc-bugs mailing list