[英]Expected unqualified-id cstdlib
I integrated SpiderMonkey Library in my Objective C Test Project.In main.mm(I renamed it to .mm for C++) I imported file 我在我的Objective C测试项目中集成了SpiderMonkey库。在main.mm(对于C ++,我将其重命名为.mm)我导入了文件
#include "jsapi.h"
When Compiling I see two errors. 编译时,我看到两个错误。
Expected unqualified-id cstdlib 预期的不合格ID cstdlib
Expected unqualified-id new. 预期的不合格ID为new。
See image of compile time errors I am getting 查看我得到的编译时错误图像
Adding Another Image for further reference. 添加另一个图像以供进一步参考。
在文件中导入#include <iostream>
对我有用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.