No way to specify compiler flags for a derived file

Originator:wiml
Number:rdar://16758394 Date Originated:29-Apr-2014
Status:Duplicate/13842027 Resolved:
Product:Developer Tools Product Version:5.0.2 (5A3005)
Classification: Reproducible:Always
 
Summary:
In Xcode, it is possible to use tools like bison or ragel to generate efficient code from a specification. The tool creates (Obj-)C code which is then compiled along with the rest of the project. However, unlike other C code, there is no way to specify per-file C compiler flags for this derived file.

For example, this makes incremental ARC conversion of a project that uses any parser generators or other higher-order programming tools especially difficult.

I know this bug has been reported by many people already over the years, so this report is just here so you can mark it as a duplicate.


Apple Developer Relations  30-Apr-2014 04:04 PM


Engineering has determined that your bug report is a duplicate of another issue and will be closed.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!