Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
C++ 'asm' syntax ignored. Use __asm.
Remarks
The asm syntax is reserved for future use. Try __asm instead. For more information, see Inline Assembler.
Example
The following example generates C2290:
// C2290.cpp
// Compile for 32 bit, i.e. x86 instead of x64
int main()
{
asm("nop"); // C2290
__asm { nop } // OK
}