The following program:

define check() (x==1) // hangs here, but that is not important

byte x;

init{

x = 0;

check();

}

Will, under Epispin, give the following error message:

“inline call check is undefined”

This is wrong for two reasons:

  • it is not an inline call but a #define

  • there exist a definition for check().

Spin will not give this error.

Submitted by Kees Pronk on 31 March 2012 at 17:45

Log in to post comments