Compiler Error C3644


For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

'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