• 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: Just starting off in obj C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Just starting off in obj C


  • Subject: Re: Just starting off in obj C
  • From: Chris Idou <email@hidden>
  • Date: Sun, 26 Oct 2008 05:16:59 -0700 (PDT)

Interesting, but that's no longer ansi-C. Plus it still won't support you creating your own kinds of format strings.


--- On Sun, 10/26/08, Chris Suter <email@hidden> wrote:

> From: Chris Suter <email@hidden>
> Subject: Re: Just starting off in obj C
> To: email@hidden
> Date: Sunday, October 26, 2008, 2:24 AM
> On Sun, Oct 26, 2008 at 3:27 PM, Chris Idou
> <email@hidden> wrote:
>
> > Which doesn't actually solve everything. For
> example, it would be quite a common thing in C to write a
> log() function that is implemented via vsprintf and family,
> so that you are passing format strings and arguments to
> functions other than the raw fprintf and family functions,
> in which case you are out of luck for compiler type
> checking.
>
> Not true for the GNU compiler: when you declare your log
> function you
> can tell it that it takes printf style arguments.
>
> -- Chris



_______________________________________________

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: Just starting off in obj C
      • From: Scott Ribe <email@hidden>
  • Prev by Date: Re: CFPreferences and init.
  • Next by Date: Re: Not so long filenames
  • Previous by thread: Re: Comparing results of @encode
  • Next by thread: Re: Just starting off in obj C
  • Index(es):
    • Date
    • Thread