name lookup of 'i' changed for new ISO 'for' scoping

majenko:

WizenedEE:
but it could be suppressed by if(statement) { } {/*...*/

So how would you suggest suppressing a warning for

for(ptr=head; ptr->next; ptr++);

?

umm.. did you read the last sentence of the post you quoted?