H. Peter Anvin (Intel) b7f24e7715 nasm_assert(): try to run at compile time if possible
Try to make nasm_assert() do a static assert if the argument can be
evaluated at compile time by any particular compiler. We also provide
nasm_try_static_assert() which will assert a compile-time expression
if and only if we can determine we have a constant at compile time
*and* we know that the compiler has a way to handle it.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
2018-12-14 15:42:03 -08:00
..
2018-10-28 23:51:31 +03:00
2018-12-14 13:33:24 -08:00
2018-12-14 13:33:24 -08:00
2018-12-14 13:33:24 -08:00
2018-12-12 17:48:38 -08:00
2018-12-14 13:33:24 -08:00
2018-12-14 13:33:24 -08:00
2018-12-14 13:33:24 -08:00
2018-10-28 23:51:38 +03:00