Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Compiler Warning (level 1) C4391

Error Message

'signature' : incorrect return type for intrinsic function, expected 'type'

A function declaration for a compiler intrinsic had the wrong return type. The resulting image may not run correctly.

To fix this warning, either correct the declaration or delete the declaration and simply #include the appropriate header file.

The following sample generates 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()
{
}

Community Additions

ADD
Show:
© 2015 Microsoft