【问题标题】:How to disable "compiler does not halt on function prototype mismatch" error in configure?如何在配置中禁用“编译器不会因函数原型不匹配而停止”错误?
【发布时间】:2016-09-23 02:55:50
【问题描述】:

我正在尝试在我的 Mac 上编译 curl 源代码,在运行 makefile 之前我确实运行了配置:

./configure --disable-shared --enable-static --disable-dependency-tracking --host=armv7-apple-darwin --disable-ldap

它给出了:

configure: error: compiler does not halt on function prototype mismatch.

如何禁用它?我的编译器环境变量是:CC=/usr/bin/clang++

【问题讨论】:

    标签: c++ curl makefile clang configure


    【解决方案1】:

    应用此patch 并重试构建。或许,您希望排除与configure.ac 相关的部分或手动运行autoconf

    【讨论】:

    • 它确实有助于解决错误,但会创建其他错误。显然,据我了解,只有 llvm-gcc 可用于 Iphone,而不是 clang
    猜你喜欢
    • 1970-01-01
    • 2013-09-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-10-17
    • 1970-01-01
    • 2019-03-10
    相关资源
    最近更新 更多