GHC should support -x objective-cpp, as well
This is a follow-up to #5025 (closed): 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 (closed), 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.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.0.3 |
| Type | FeatureRequest |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Driver |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |