[vlc-devel] [RFC PATCH] DASH using cinttypes: build issues
Rémi Denis-Courmont
remi at remlab.net
Wed Jan 14 21:07:52 CET 2015
Le 2015-01-14 13:56, Thomas Guillem a écrit :
> In CPP, PRId64 macros needs <cinttypes> that is c++11 only.
>
> I enabled -std=c++11 for android build, but then I had some issues
> with
> vlc_fixups.h: static_assert is already defined in c++11.
>
> It's hard to fix it in configure.ac, since for android, C11 doesn't
> have
> static_assert while C++11 has it.
static_assert is mandatory in both. If you don't have it, it's not C11.
I think it's obvious, but please keep off unfinished language
implementations. As much as I'd like to switch from C99 to C11, I don't
think this will happen for some time.
--
Rémi Denis-Courmont
More information about the vlc-devel
mailing list