Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 698 Bytes

compiler-warning-level-1-c4167.md

File metadata and controls

25 lines (20 loc) · 698 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Warning (level 1) C4167
Compiler Warning (level 1) C4167
11/04/2016
C4167
C4167
74a420bd-9371-4167-b1ee-74dd8680f97b

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(){}