Re: gcc 4.2 generates error that was OK before
Re: gcc 4.2 generates error that was OK before
- Subject: Re: gcc 4.2 generates error that was OK before
- From: Alastair Houghton <email@hidden>
- Date: Tue, 22 Sep 2009 21:49:34 +0100
On 22 Sep 2009, at 21:41, Jens Alfke wrote:
On Sep 22, 2009, at 11:43 AM, Steve Mills wrote:
I would guess there used to be a glitch in GCC where it expanded
typedefs before looking for the 'void' marker, so it allowed the
syntax in question; and now in 4.2 it doesn't do that anymore, and
detects that the declaration is bogus.
Of course, in C++, void parameters were never required (that's one of
the deviations from ANSI C).
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
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