[vlc-devel] [PATCH v2] Added check for compiler intrinsic _Static_assert.
b at codemonkey.ru
Sat Nov 23 20:59:35 CET 2013
> If the C++ headers use static_assert(), it is intrinsically safe to assume
> that static_assert() is supported. Thus your patch is not solving the
static_assert is defined as macro in C++ standard library, but C library in
my case doesn't have static_assert defined in <assert.h>
So, really we have these cases:
1) Compiler doesn't have _Static_assert, let's define it (could be GCC
under 4.6 for example)
2) C library doesn't have static_assert, let's define it using
3) C++ library doesn't have static_assert, let's define it using
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel