[vlc-devel] [PATCH] vlc_common: Add C++ memory management helpers

Jean-Baptiste Kempf jb at videolan.org
Fri Jul 13 09:21:14 CEST 2018


Filip,

This ship has sailed. C++11 is required to build VLC.
In fact, the requirement is GCC 5.0 and Clang 3.4. Which means part of
C++14 is also OK.
Platforms who can't get that will stay on 3.0 LTS


On Fri, 13 Jul 2018, at 09:00, Filip Roséen wrote:
> Just noticed that *c++11* features were already introduced in
> <vlc_tick.h>, so my vote might not count as the decision might have
> been made already - but personally I strongly believe one should
> protect such entities with a guard.> On 2018-07-13 07:28, Filip Roséen wrote:


>>  The above was meant to be read as *"Helpers are nice, but an
>>  unfortunate consequence of putting them in `vlc_common.h` is that
>>  the C++ compiler used to build a module then must support (and
>>  enable) *c++11*, even if the implementation of said module does not
>>  mandate it."*
>>>  This could be circumvented by introducing `#if __cplusplus >=
>>>  201103` so that we do not force an error diagnostic down someones
>>>  throat who are for whatever stuck with an older compiler. One could
>>>  argue that we> _________________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

--
Jean-Baptiste Kempf -  President
+33 672 704 734
 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20180713/62014cf1/attachment.html>


More information about the vlc-devel mailing list