Ticket #5150 (closed feature request: fixed)
GHC should support -x objective-cpp, as well
|Reported by:||scpmw||Owned by:|
|Operating System:||MacOS X||Architecture:||Unknown/Multiple|
|Type of failure:||None/Unknown||Difficulty:|
|Test Case:||objcpp-hi||Blocked By:|
This is a follow-up to #5025: Adding objective-c is just part of the story, as objective-c++ files (with suffix ".mm" or ".M") are also pretty common. Thoughtpolice even mentioned this in the comments.
As with #5025, this would make compiling for Mac a lot easier without any real complications for GHC, as it only has to pass the file through to GCC with the appropriate flag.