IOS project: If I use C ++ (C ++ 11) anywhere in my project, should I disable modules?
I see the error "Using" @import "when modules are disabled" even when I switch to "YES" in the "Enable modules (C and Objective-C)" option in the build settings.
The threat tells me that since my project actually has a lot of Objective-C ++ source files .mm
, perhaps this means that modules (which are not C ++ ready yet) simply cannot be included. Is this true or am I just missing some other config settings?
+3
source to share
1 answer
It says here:
NOTE. Modules are currently only available for apples. and were implicitly disabled for C ++.
Source: http://stoneofarc.wordpress.com/2013/06/25/introduction-to-objective-c-modules/
+2
source to share