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:cont...@ligh.de

_______________________________________________
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel

Reply via email to