Re: const assignment issue
Re: const assignment issue
- Subject: Re: const assignment issue
- From: David A Rowland <email@hidden>
- Date: Thu, 7 Dec 2006 21:18:23 -0800
At 8:12 PM -0800 12/7/06, Luigi Castelli wrote:
here is the code fragment...
extern const long kTableSize = 8192;
extern const long kTableMask = kTableSize - 1;
The error that I get from X-code is:
error: initializer element is not constant
- Luigi
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.
_______________________________________________
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