Compiler Warning (level 1) C4392

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Compiler Warning (level 1) C4392.

signature' : incorrect number of arguments for intrinsic function, expected 'number' arguments

A function declaration for a compiler intrinsic had the wrong number of arguments. 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 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()  
{  
}  

Show: