更新到 xcode 4.2 时出现 stl_vector 错误
我正在尝试将我的应用程序更新到 Xcode 4.2,现在它在 stl_vector.h(一个属于内置库的一部分的库)中给了我一堆错误。这是错误的图片:
你知道我做错了什么吗?我不知道如何解决这个问题。我什至无权编辑抛出错误的函数,因为它是内置的。
I'm trying to update an app of mine to Xcode 4.2, and now it's giving me a bunch of errors in stl_vector.h, a library that is part of the built in libraries. Here is a picture of the error:
Any ideas what I'm doing wrong? I can't figure out how to fix this. I don't have permission to even edit the function that is throwing errors since it is built in.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
一个小小的猜测,因为你没有给我们足够的信息,但是如果 OBJMaterial 等是 Objective-C 类,你不能按值传递它们,即你总是使用指针。
A slight guess, since you don't give us enough information, but if
OBJMaterial
etc are Objective-C classes, you can't pass them by value, i.e. you always work with pointers.