Compiler Warning (level 1) C4167
function : only available as an intrinsic function
The #pragma function tries to force the compiler to use a conventional call to a function that must be used in intrinsic form. The pragma is ignored.
To avoid this warning, remove the #pragma function.
Example
// C4167.cpp
// compile with: /W1
#include <malloc.h>
#pragma function(_alloca ) // C4167: _alloca() is intrinsic only
int main(){}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for