Re: How are stdlib.h and time.h imported?
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