• 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: Is Objective-C now a strict superset of C99?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Is Objective-C now a strict superset of C99?


  • Subject: RE: Is Objective-C now a strict superset of C99?
  • From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>
  • Date: Fri, 26 Aug 2005 14:29:14 -0400
  • Thread-topic: Is Objective-C now a strict superset of C99?

Unfortunately, that doesn't really answer the question.  You see, I want to write a lex/yacc file to parse in modern Objective-C code; that means that I REALLY need to learn what the modern grammar for Objective C is.

Thanks,
Cem Karan

-----Original Message-----
From: Karl Kraft [mailto:email@hidden]
Sent: Fri 26-Aug-05 02:21 PM
To: Karan, Cem (Civ, ARL/CISD)
Cc: email@hidden
Subject: Re: Is Objective-C now a strict superset of C99?

On Aug 26, 2005, at 5:26 AM, Karan, Cem (Civ, ARL/CISD) wrote:
> The subject line pretty much says it all; is Objective-C now a
> strict superset of C99?  I'd like to use some of the newer C99
> keywords and know that my code is portable, but all I see is that
> its built on K&R C.



In xcode their is a build setting per target for the following dialects:

C89: Accept ISO C90, but not GNU extensions. [-std=c89]

GNU89: Accept ISO C90 and GNU extensions. [-std=gnu89]

C99: Accept ISO C99, but not GNU extensions. [-std=c99]

GNU99: Accept ISO C99 and GNU extensions. [-std=gnu99]





--
K2  //  Karl Kraft  //  email@hidden  //  AIM: nfoxsupport
To purchase it is not like spending money, but rather it is an
investment in the future, in a blow against the empire



 _______________________________________________
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: Is Objective-C now a strict superset of C99?
      • From: Charlton Wilbur <email@hidden>
    • Re: Is Objective-C now a strict superset of C99?
      • From: David P Henderson <email@hidden>
    • Re: Is Objective-C now a strict superset of C99?
      • From: Clark Cox <email@hidden>
    • Re: Is Objective-C now a strict superset of C99?
      • From: Ladd Van Tol <email@hidden>
  • Prev by Date: Re: cross compile problems
  • Next by Date: Re: Is Objective-C now a strict superset of C99?
  • Previous by thread: Re: Is Objective-C now a strict superset of C99?
  • Next by thread: Re: Is Objective-C now a strict superset of C99?
  • Index(es):
    • Date
    • Thread