On 18/04/2008, Jim Wilson <wilson@xxxxxxxxxxxxx> wrote: > Adding -pedantic does generate the warning. Perhaps you expected a warning > without -pedantic? If you read the docs carefully, you will see that > -std=c89 enables all features of that standard, but does not disable GNU > extensions to that standard. You need -pedantic for that. You are right, I have misted -pedantic and with -pedantic-errors the example does generated the error. Regards, Igor