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

Maxim Bublis b at codemonkey.ru
Wed Nov 27 10:54:12 CET 2013


> > <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++.


ISO/IEC 9899 is standard for C, not C++


-- 
Maxim Bublis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20131127/65637dd6/attachment.html>


More information about the vlc-devel mailing list