gpt4 book ai didi

c++ - 错误: "va_start" used in Win64 ABI funtion getting thi seero in clang help me to solve this?

转载 作者:行者123 更新时间:2023-11-30 19:28:31 26 4
gpt4 key购买 nike

我已经编译了,但是在 ubuntu 中使用 CLANG 编译时,出现了如下错误:“va_start”在 Win64 ABI 函数中使用。谁能帮助我吗?

最佳答案

由于您的函数是静态并且我怀疑您将其作为参数传递到任何地方,我相信您可以在此处删除EFIABI (以及在声明中)。 EFIABI 是一种 4 寄存器调用约定,GCC 似乎不支持变量参数。

关于c++ - 错误: "va_start" used in Win64 ABI funtion getting thi seero in clang help me to solve this?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53845245/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com