Re: Mysterious Parse Error in switch statement
Re: Mysterious Parse Error in switch statement
- Subject: Re: Mysterious Parse Error in switch statement
- From: j o a r <email@hidden>
- Date: Thu, 18 Dec 2003 13:59:38 +0100
On 2003-12-18, at 13.39, email@hidden wrote:
>
Is it because Obj-C is more like C than C++ and it doesn't like
>
variables
>
declared any where you like but needs them at the beginning of a code
>
block.
With GCC 3 (C99) this is actually no longer the case. In general you
can declare variables anywhere - not only at the beginning of a block.
For some reason though, you still can't do that in switch statements.
j o a r
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.