编译器警告(等级 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()
{
}