Re: Re: const assignment issue
Re: Re: const assignment issue
- Subject: Re: Re: const assignment issue
- From: "Mark Wagner" <email@hidden>
- Date: Fri, 8 Dec 2006 14:28:26 -0800
On 12/8/06, Luigi Castelli <email@hidden> wrote:
>
> Using XCode 2.4.1 I find that error when the code is
> in a .c file,
> but no error when it is in a .cp file.
>
Exactly, I get the same thing.
If I make the file into a .cp then X-code reports no
error.
That's weird, isn' it? Or am I missing something
obvious?
Are C and C++ behaving differently in regards to
consts ?
Yes. The C++ specification permits you to do much more with
constants, particularly compile-time constants, than C does.
--
Mark Wagner
_______________________________________________
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