编译器警告(等级 1)C4391
“signature”:不正确的内部函数返回类型,应为“type”
编译器内部函数的函数声明具有错误的返回类型。 生成的映像可能无法正确运行。
若要修复此警告,请更正声明或删除声明,只需将相应头文件 #include。
下面的示例生成 C4391:
// C4391.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_load_ss(float *p); // C4391
#ifdef __cplusplus
}
#endif
int main()
{
}
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈