Commit Graph

5 Commits

Author SHA1 Message Date
Andrew Hyatt
1c6ea502b7 Revert "Fix all warnings in CoreFoundation"
This reverts commit 3cf877c00d.

The issue with this commit is that it adds stubs for some methods
which are actually implemeneted in categories in Foundation. The good
parts of this commit will be later committed once those are removed.
2019-04-30 16:59:58 -04:00
Andrew Hyatt
3cf877c00d Fix all warnings in CoreFoundation
-Werror is now enabled so there won't be any more in the future.

Places I noticed that had stubs which didn't have it now print a
message indicating that a stub was called.

Fix all CFNumber.c warnings

Fix CFNumberFormatter.c warnings

More warning fixes

Fix warnings

Bridged class warnings

Fix NSDate and NSDateComponents warnings

Warnings fixes

Warnings fixes

No NSSet and NSSharedKeyDictionary warnings

NSSharedKeySet and NSString warnings

Fix NSTimeZone and NSTimer warnings

Fix NSURL.m warnings

Remove NSLog uses

Remove references to Foundation class

Fix 64 bit warning

Fix format strings for NSArray

Fix all warnings

All warnings enabled
2019-04-26 22:14:13 -04:00
Andrew Hyatt
4fade8083f Have separate link flags for i386 and x86_64
This is made possible using a new cmake function.
2017-08-10 17:46:48 -07:00
Andrew Hyatt
add7ae9fb5 Partly implement NSObject in CoreFoundation
This is only used when the deployment target is
10.7 and below
2017-08-09 18:41:30 -07:00
Lubos Dolezel
e5e3f95c44 Apportable's CoreFoundation with newest CFLite that links 2017-02-22 17:13:11 +01:00