• 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: How are stdlib.h and time.h imported?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How are stdlib.h and time.h imported?


  • Subject: Re: How are stdlib.h and time.h imported?
  • From: Chris Suter <email@hidden>
  • Date: Tue, 21 Aug 2007 17:23:12 +1000

On 21/08/2007, at 4:10 PM, Karsten wrote:

it did so in 10.3 i believe... you could write c apps without including <stdio.h> even though you used printf. as of 10.4 you have to include it explicitly though

I don't believe this is true.

Header files as far as I know have never been included by default.

What's changed recently is that the compiler will now warn if you use a function that hasn't been declared. There are almost certainly compiler switches that control this behaviour.

On Aug 20, 2007, at 22:37 , Frank Bettger wrote:

The only thing imported in Hillegass code is <Cocoa/Cocoa.h>, and I've
looked in that file and do not see any imports of time.h and stdlib.h?

Cocoa/Cocoa.h includes Foundation/Foundation.h which includes CoreFoundation/CoreFoundation.h which includes time.h and stdlib.h.


- Chris

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

References: 
 >How are stdlib.h and time.h imported? (From: "Frank Bettger" <email@hidden>)
 >Re: How are stdlib.h and time.h imported? (From: Boris Remizov <email@hidden>)
 >Re: How are stdlib.h and time.h imported? (From: Andrew Farmer <email@hidden>)
 >Re: How are stdlib.h and time.h imported? (From: Karsten <email@hidden>)
 >Re: How are stdlib.h and time.h imported? (From: Boris Remizov <email@hidden>)

  • Prev by Date: DashBoard Help
  • Next by Date: DashBoard Help
  • Previous by thread: Re: How are stdlib.h and time.h imported?
  • Next by thread: Re: How are stdlib.h and time.h imported?
  • Index(es):
    • Date
    • Thread