Branch: Tag:

2019-02-06

2019-02-06 22:24:07 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)