• 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: C99 complience
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C99 complience


  • Subject: Re: C99 complience
  • From: email@hidden
  • Date: Wed, 13 Feb 2002 07:29:39 -0500

GCC does support it, but I'm not sure whether it's supported under Objective-C. I have a commandline C++ program that uses that syntax, and it compiles fine. Maybe just be a problem with the Objective-C language.

Owen Anderson


On Wednesday, February 13, 2002, at 01:11 AM, Wade Tregaskis wrote:

I randomly stumbled across a C99 compliance failing by trying to do "for(int x = y;...)". Am I correct in assuming that I should be able to declare variables for the first time in for loops in this way [under C99], and that OS X's default version of [g]cc doesn't support this?

What other C99 features are currently unsupported, out of curiosity?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >C99 complience (From: Wade Tregaskis <email@hidden>)

  • Prev by Date: toggleToolbarShown - how to validate menu item?
  • Next by Date: How to change default font for NSTextView?
  • Previous by thread: Re: C99 complience
  • Next by thread: Re: C99 complience
  • Index(es):
    • Date
    • Thread