Re: How to enforce C89-style variable declarations in gcc ?
Re: How to enforce C89-style variable declarations in gcc ?
- Subject: Re: How to enforce C89-style variable declarations in gcc ?
- From: Jens Alfke <email@hidden>
- Date: Wed, 23 Jun 2010 09:18:27 -0700
On Jun 23, 2010, at 7:06 AM, Paul Russell wrote:
> Thanks - that at least generates a warning. It appears that from gcc 4.4 onwards I can use -Werror=declaration-after-statement to get an error rather than a warning, but this is broken in gcc 4.2 and unsupported in gcc 4.0.
Use plain -Werror and fix the spurious warnings in your code? That’s always a good idea anyway.
—Jens _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden