Partager via


Compiler Error C2887 (Windows Embedded CE 6.0)

1/5/2010

__swi cannot have more than five arguments (SWI number r0 - r3)

__swi intrinsic must have five or fewer arguments.

Example

#pragma intrinsic(__swi)
int test_intrinsic()
{
     return __swi(10, 12, 14, 13, 15, 12);
 // error cannot have more than 5 args
}

See Also

Reference

Device Compiler Error Messages