显式函数原型 | ios 64 位架构

Explicit function prototype | ios 64 bit architecture

在苹果开发者网站(https://developer.apple.com) it's stated that while converting our iphone app from 32 bit to 64 bit architecture, we must write explicit prototype for functions so that compiler can determine whether the function is a variadic function or not. The link is as : apple developers/explicit prototype requirement

我无法理解如何做到这一点,如果我们必须为每个函数编写原型,根据我的信息,没有必要这样做。请解释一下这件事

此致

我认为显式函数原型是指 C 代码,如果您的应用程序是用 Objective-C 编码的,您就不会遇到这个问题。

我认为显式函数原型要求是因为 64 位运行时可以使用堆栈或处理器寄存器将参数传递给函数,为此,它需要以不同方式处理函数。