• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
const assignment issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

const assignment issue


  • Subject: const assignment issue
  • From: Luigi Castelli <email@hidden>
  • Date: Thu, 7 Dec 2006 19:10:14 -0800 (PST)

Hi there,

I have a bunch of constants that need to be
initialized.
However X-code does not allow me to do this:

extern const float value = 1 + 1;

but only:

extern const float value = 2;

Is there a way to use the former case without
generating any error?
I am on Mac Powerbook 2.16 GHz Intel Core Duo and I am
using X-code 2.4

Thanks.

- Luigi


------------------------------------------------------------
THIS E-MAIL MESSAGE IS FOR THE SOLE USE OF THE INTENDED RECIPIENT AND MAY CONTAIN CONFIDENTIAL AND/OR PRIVILEGED INFORMATION.  ANY UNAUTHORIZED REVIEW, USE, DISCLOSURE OR DISTRIBUTION IS PROHIBITED.  IF YOU ARE NOT THE INTENDED RECIPIENT, CONTACT THE SENDER BY E-MAIL AT email@hidden AND DESTROY ALL COPIES OF THE ORIGINAL MESSAGE. WITHOUT PREJUDICE UCC1-207.
------------------------------------------------------------




____________________________________________________________________________________
Any questions? Get answers on any topic at www.Answers.yahoo.com.  Try it now.
 _______________________________________________
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

  • Follow-Ups:
    • Re: const assignment issue
      • From: Scott Ribe <email@hidden>
  • Prev by Date: Re: executable obfuscator?
  • Next by Date: Re: const assignment issue
  • Previous by thread: Re: executable obfuscator?
  • Next by thread: Re: const assignment issue
  • Index(es):
    • Date
    • Thread