#import <Cocoa/Cocoa.h> unnecessary and borks iPhone compilation
----------------------------------------------------------------
Key: THRIFT-343
URL: https://issues.apache.org/jira/browse/THRIFT-343
Project: Thrift
Issue Type: Bug
Components: Compiler (Cocoa)
Environment: iPhone
Reporter: Andrew McGeachie
Priority: Minor
The Cocoa generator currently sticks a "#import <Cocoa/Cocoa.h>" line at the
top of generated files. This is actually unnecessary because of Xcode's
default precompiled header file, and it borks when compiling for the iPhone,
making code sharing between Cocoa and iPhone code a pain.
Solution: remove the import.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.