[x265] Dynamic HDR10 routines don't compile in GCC 6.3.0, missing C++11 compatibility
Mario *LigH* Rohkrämer
contact at ligh.de
Thu Apr 20 10:06:55 CEST 2017
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/Entwicklung/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-w64-mingw32\include\c++\6.3.0\initializer_list:36:0,
from
h:/MSYS-GCC630/home/Entwicklung/x265/source/dynamicHDR10/json11/json11.h:57,
from
h:/MSYS-GCC630/home/Entwicklung/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
More information about the x265-devel
mailing list