Skip to content

Support C++11 Objective-C++ in objc_.* targets #366

@mrdomino

Description

@mrdomino

I want to compile a target that contains some Objective-C files and some Objective-C++ files (conventionally ending in .mm). For the latter, I want to specify -std=c++11. If I add that to objccopts, my Objective-C++ files compile, but clang dies on my Objective-C files with:

error: invalid argument '-std=c++11' not allowed with 'C/ObjC'

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions