Branch: Tag:

2018-12-26

2018-12-26 10:36:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [NT]: Fixed multiple compatibility issues with cl.

* Make sure UNREACHABLE() always has an argment.

cl's preprocessor is broken, and doesn't support single argument
macros being called with an empty argument.

* Variables may only be declared at the beginning of a block.

290:    if(n->type == void_type_string) return 0;    return 1;    } -  UNREACHABLE(); +  UNREACHABLE(return 0);   }      INT32 count_args(node *n)