码迷,mamicode.com
首页 > 其他好文 > 详细

MAC OSX 中解决编译“'cc' failed with exit status 1”错误 和clang: error: unknown argument 错误

时间:2014-07-10 19:30:11      阅读:3913      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   color   width   os   

错误例子:

error: command ‘cc‘ failed with exit status 1
clang: error: unknown argument: ‘-multiply_definedsuppress‘ [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future

解决方案:

export CFLAGS=-Qunused-arguments
export CPPFLAGS=-Qunused-arguments

sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install zerorpc


http://stackoverflow.com/questions/22697440/cc-failed-with-exit-status-1-error-when-install-python-library

http://bruteforce.gr/bypassing-clang-error-unknown-argument.html

http://kaspermunck.github.io/2014/03/fixing-clang-error/

http://glynjackson.org/weblog/entry/clang-error.html

MAC OSX 中解决编译“'cc' failed with exit status 1”错误 和clang: error: unknown argument 错误,布布扣,bubuko.com

MAC OSX 中解决编译“'cc' failed with exit status 1”错误 和clang: error: unknown argument 错误

标签:style   blog   http   color   width   os   

原文地址:http://blog.csdn.net/fightforyourdream/article/details/37591051

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!