|
|
||
|
On Mon, 2021-03-01 at 19:54 +0100, bel wrote:
>
> #define UNREACHABLE {printf("Reached unreachable code at %u\n",
> __LINE__); assert(0);}
To avoid confusion with compiler cutting asserts away on release
builds, how about using abort() instead of assert(0)?
--
v <v19930312@gmail.com>