Edit

Share via


Compiler Error C3644

'function' : cannot compile the function to generate managed code

The presence of some keywords in a function will cause the function to be compiled to native.

The following sample generates C3644:

// C3644.cpp
// compile with: /clr
// processor: x86

void __clrcall Func2(int i) {
   __asm {}   // C3644
}