编译器警告(级别 1,错误)C4392
“signature”:内部函数参数个数不正确,应为“number”个参数
编译器内部函数的函数声明具有错误的参数个数。 生成的映像可能无法正确运行。 若要修复此警告,请更正声明或删除声明并 #include
相应头文件。
此警告始终作为错误发出。 请使用警告 pragma 禁用或更改此警告级别。
下面的示例生成 C4392:
// C4392.cpp
// compile with: /W1
// processor: x86
// uncomment the following line and delete the line that
// generated the warning to resolve
// #include "xmmintrin.h"
#ifdef __cplusplus
extern "C" {
#endif
extern void _mm_stream_pd(double *dp); // C4392
#ifdef __cplusplus
}
#endif
int main()
{
}
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈