What more than "GCC 6.3.0" do you need to know? My build environment is based on:

        http://xhmikosr.1f0.de/tools/msys/

with some customized scripts based on your build/msys shell scripts.

Maybe I should clean and clone freshly, not to accidently miss any changes.

Or did you not try to add "-DENABLE_DYNAMIC_HDR10=ON" to the CMake calls for 10 bit depth builds? Without this, there was just the shadowing warning. But with this addition, all the JSON sources (exclusive to dynamicHDR10 supporting builds) could not be built due to a lack of C++11 compatibility.


Am 20.04.2017, 16:32 Uhr, schrieb Pradeep Ramachandran <prad...@multicorewareinc.com>:

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

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



--

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