[vlc-devel] [PATCH] Fixed static assertion availability checking.

Rémi Denis-Courmont remi at remlab.net
Fri Nov 15 09:57:37 CET 2013


On Fri, 15 Nov 2013 12:28:27 +0400, Maxim Bublis <b at codemonkey.ru> wrote:
> This patch fixes static assertion availability checking.
> It seems like some compilers (like Clang) do not define static_assert
> in <assert.h>, but define _Static_assert as it was called in C1x draft.

No, you are mixing things up. _Static_assert is an intrinsic.
static_assert() is a macro.

-- 
Rémi Denis-Courmont
Sent from my collocated server



More information about the vlc-devel mailing list