简体   繁体   English

如何添加/ bigobj切换到与ms代码gen clang?

[英]How to add /bigobj switch to clang with ms code gen?

I have tried adding /bigobj for the Command Line -> Additional Options but the output is: 我试过为命令行添加/ bigobj - >其他选项,但输出是:

clang.exe : error : no such file or directory: '/bigobj' clang.exe:错误:没有这样的文件或目录:'/ bigobj'

which is odd since this version of clang with MS code gen (May 2016) is supposed to support this option and using it with the normal MS front end works fine. 这是奇怪的,因为这个版本的铿锵与MS代码gen(2016年5月)应该支持这个选项,并使用它与正常的MS前端工作正常。

Any ideas? 有任何想法吗?

啊,这是因为你应该使用“ - ”而不是“/”,所以“-bigobj”代替“/ bigobj”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM