• 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
Re: defined but not used error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: defined but not used error


  • Subject: Re: defined but not used error
  • From: Scott Ribe <email@hidden>
  • Date: Mon, 26 May 2008 16:10:32 -0500
  • Thread-topic: defined but not used error

> I was wondering
> how people did it, so I search using google's code search and found a
> few examples of that method, but they weren't defined const.

Constness is one of those things that was added to C in later versions. Much
of the NeXT-derived stuff simply predates the availability of const. Even
newer sample code often simply reflects habits that were formed before const
was available.

--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: defined but not used error
      • From: Scott Ribe <email@hidden>
References: 
 >Re: defined but not used error (From: Sebastian Nowicki <email@hidden>)

  • Prev by Date: Re: Crashes related to garbage collection?
  • Next by Date: Re: How hard is it to learn Cocoa - Survey ?
  • Previous by thread: Re: defined but not used error
  • Next by thread: Re: defined but not used error
  • Index(es):
    • Date
    • Thread