[vlc-devel] [PATCH] Added check for _Static_assert and C++11 static_assert.

Rémi Denis-Courmont remi at remlab.net
Wed Nov 27 10:51:37 CET 2013

On Wed, 27 Nov 2013 13:47:31 +0400, Maxim Bublis <b at codemonkey.ru> wrote:
> <assert.h> (...) shouldn't define static_assert,

>From ISO/IEC 9899 §7.2:

"The header <assert.h> defines the assert and static_assert macros (...)
static_assert expands to _Static_assert."

> i don't see why you should use <assert.h> for C++ code.

VLC has common header files for C and C++.

Rémi Denis-Courmont
Sent from my collocated server

More information about the vlc-devel mailing list