C++11 standard libraries in libstdc++ on Mac

北战南征 提交于 2019-12-06 14:59:24

You'll need to tell your copy of clang how to find the libstdc++ headers that you want to use. Clearly it's not finding them. I think that the flags you want are "-nostdinc -I /path/to/better/headers".

The first part tells clang not to use it's standard headers, and the second one tells it to look for headers "over there".

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!