[x265] Dynamic HDR10 routines don't compile in GCC 6.3.0, missing C++11 compatibility

Pradeep Ramachandran pradeep at multicorewareinc.com
Thu Apr 20 16:32:19 CEST 2017


What compiler are you trying with? We have seen some warnings, but most of
them are harmless. I haven't seen any errors yet though.
Pradeep.

On Thu, Apr 20, 2017 at 1:06 AM, Mario *LigH* Rohkrämer <contact at ligh.de>
wrote:

> When I add "-DENABLE_DYNAMIC_HDR10=ON" to my cmake calls, a huge load of
> warnings and errors appears. Most are related to missing compatibility with
> C++11.
>
> Few examples:
>
>
> In file included from h:/MSYS-GCC630/home/Entwicklun
> g/x265/source/dynamicHDR10/BasicStructures.cpp:26:0:
> h:/MSYS-GCC630/home/Entwicklung/x265/source/dynamicHDR10/BasicStructures.h:34:30:
> warning: non-static data member initializers only available with -std=c++11
> or -std=gnu++11
>      float averageLuminance = 0.0;
>                               ^~~
>
> In file included from h:\msys-gcc630\mingw\x86_64-w6
> 4-mingw32\include\c++\6.3.0\initializer_list:36:0,
>                  from h:/MSYS-GCC630/home/Entwicklun
> g/x265/source/dynamicHDR10/json11/json11.h:57,
>                  from h:/MSYS-GCC630/home/Entwicklun
> g/x265/source/dynamicHDR10/json11/json11.cpp:22:
> h:\msys-gcc630\mingw\x86_64-w64-mingw32\include\c++\6.3.0\bits\c++0x_warning.h:32:2:
> error: #error This file requires compiler and library support for the ISO
> C++ 2011 standard. This support must be enabled with the -std=c++11 or
> -std=gnu++11 compiler options.
>  #error This file requires compiler and library support \
>   ^~~~~
>
>
> --
>
> Fun and success!
> Mario *LigH* Rohkrämer
> mailto:contact at ligh.de
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20170420/ce06a5e0/attachment.html>


More information about the x265-devel mailing list