[vlc-devel] [RFC PATCH] DASH using cinttypes: build issues

Thomas Guillem thomas at gllm.fr
Wed Jan 14 14:25:14 CET 2015



On Wed, Jan 14, 2015, at 13:15, Francois Cartegnie wrote:
> Le 14/01/2015 11: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.
> > 
> > We can also remove PRId64 since it's used for debug (for now).
> 
> 
> We had PRId64 in C++ modules for years, this has never been a problem.
> The problem is likely with source, not vlc_fixups.

Ok, I did like the matroska cpp module.

c++11 is still broken in android due to double static_assert definition
(in fixups and in c++11 headers).

> 
> 
> Francois
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel



More information about the vlc-devel mailing list