Objective c++ compiler error heigh lighting

已回答


I try to use a vector in the objective-c++ and it shows a syntax error highlight, where Xcode works fine

here is a screen shot

0
Avatar
Permanently deleted user
正式评论

Hi.

Works fine for me in AppCode 2017.3 EAP build 173.3622.15. Could you try it out and check if the issue is reproducible there? In case it is, please specify Xcode version selected in Preferences | Tools | Xcode. 

Also, please, list all #include statements that are used in the problematic file. Could you navigate to vector declaration and specify the file path IDE takes you to (e.g. /Xcode-9.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector).

请先登录再写评论。