VTM-11.0ecm8 (6dbf2e) does not compile with gcc 12.2, gcc 11.3
VTM-11.0ecm8 is agreed to be an anchor of AHG7 tests. However, compiling errors with gcc 12.2, gcc 11.3 were observed.
Partial gcc 11.3 errors
[ 62%] Building CXX object source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/__/CommonLib/x86/avx2/RdCost_avx2.cpp.o
[ 62%] Building CXX object source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/__/libmd5/libmd5.cpp.o
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/Buffer.cpp: In member function ‘void AreaBuf<T>::subtract(T) [with T = short int]’:
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/Buffer.cpp:662:18: error: ‘clpRngDummy’ may be used uninitialized [-Werror=maybe-uninitialized]
662 | linearTransform( 1, 0, -val, false, clpRngDummy );
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/Buffer.cpp:624:6: note: by argument 6 of type ‘const ClpRng&’ to ‘void AreaBuf<T>::linearTransform(int, int, int, bool, const ClpRng&) [with T = short int]’ declared here
624 | void AreaBuf<Pel>::linearTransform( const int scale, const int shift, const int offset, bool bClip, const ClpRng& clpRng )
| ^~~~~~~~~~~~
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/Buffer.cpp:661:10: note: ‘clpRngDummy’ declared here
661 | ClpRng clpRngDummy;
| ^~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonLib/CMakeFiles/CommonLib.dir/build.make:118: source/Lib/CommonLib/CMakeFiles/CommonLib.dir/Buffer.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/Buffer.cpp: In member function ‘void AreaBuf<T>::subtract(T) [with T = short int]’:
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/Buffer.cpp:662:18: error: ‘clpRngDummy’ may be used uninitialized [-Werror=maybe-uninitialized]
662 | linearTransform( 1, 0, -val, false, clpRngDummy );
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/Buffer.cpp:624:6: note: by argument 6 of type ‘const ClpRng&’ to ‘void AreaBuf<T>::linearTransform(int, int, int, bool, const ClpRng&) [with T = short int]’ declared here
624 | void AreaBuf<Pel>::linearTransform( const int scale, const int shift, const int offset, bool bClip, const ClpRng& clpRng )
| ^~~~~~~~~~~~
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/Buffer.cpp:661:10: note: ‘clpRngDummy’ declared here
661 | ClpRng clpRngDummy;
| ^~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/build.make:118: source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/__/CommonLib/Buffer.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:332: source/Lib/CommonLib/CMakeFiles/CommonLib.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:358: source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
Partial gcc 12.2 errors
AdaptiveOffset.cpp.o] Error 1
make[2]: *** [source/Lib/CommonLib/CMakeFiles/CommonLib.dir/build.make:174: source/Lib/CommonLib/CMakeFiles/CommonLib.dir/ContextModelling.cpp.o] Error 1
In file included from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/sse41/../../Rom.h:42,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/sse41/../RdCostX86.h:41,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/sse41/RdCost_sse41.cpp:1:
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/sse41/../../Common.h:123:34: error: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Werror=deprecated-declarations]
123 | struct hash<Position> : public unary_function<Position, uint64_t>
| ^~~~~~~~~~~~~~
In file included from /usr/include/c++/12/string:48,
from /usr/include/c++/12/bits/locale_classes.h:40,
from /usr/include/c++/12/bits/ios_base.h:41,
from /usr/include/c++/12/ios:42,
from /usr/include/c++/12/ostream:38,
from /usr/include/c++/12/iostream:39,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/../CommonLib/CommonDef.h:42,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/sse41/../CommonDefX86.h:41,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/sse41/../RdCostX86.h:40:
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/sse41/../../Common.h:132:30: error: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Werror=deprecated-declarations]
132 | struct hash<Size> : public unary_function<Size, uint64_t>
| ^~~~~~~~~~~~~~
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
In file included from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonAnalyserLib/../CommonLib/../CommonLib/Unit.h:42,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/sse41/../BufferX86.h:44,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/sse41/Buffer_sse41.cpp:1:
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonAnalyserLib/../CommonLib/../CommonLib/Common.h:123:34: error: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Werror=deprecated-declarations]
123 | struct hash<Position> : public unary_function<Position, uint64_t>
| ^~~~~~~~~~~~~~
In file included from /usr/include/c++/12/string:48,
from /usr/include/c++/12/bits/locale_classes.h:40,
from /usr/include/c++/12/bits/ios_base.h:41,
from /usr/include/c++/12/ios:42,
from /usr/include/c++/12/ostream:38,
from /usr/include/c++/12/iostream:39,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonAnalyserLib/../CommonLib/../CommonLib/CommonDef.h:42,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/sse41/../BufferX86.h:42:
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonAnalyserLib/../CommonLib/../CommonLib/Common.h:132:30: error: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Werror=deprecated-declarations]
132 | struct hash<Size> : public unary_function<Size, uint64_t>
| ^~~~~~~~~~~~~~
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
In file included from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/sse41/../../RdCost.h:42,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/sse41/../RdCostX86.h:42:
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/sse41/../../Mv.h:276:28: error: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Werror=deprecated-declarations]
276 | struct hash<Mv> : public unary_function<Mv, uint64_t>
| ^~~~~~~~~~~~~~
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
In file included from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonAnalyserLib/../CommonLib/../CommonLib/Unit.h:43:
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonAnalyserLib/../CommonLib/../CommonLib/Mv.h:276:28: error: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Werror=deprecated-declarations]
276 | struct hash<Mv> : public unary_function<Mv, uint64_t>
| ^~~~~~~~~~~~~~
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonLib/CMakeFiles/CommonLib.dir/build.make:650: source/Lib/CommonLib/CMakeFiles/CommonLib.dir/dtrace.cpp.o] Error 1
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/build.make:776: source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/__/CommonLib/x86/sse42/IbcHashmap_sse42.cpp.o] Error 1
In file included from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/../CommonLib/Unit.h:42,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/../CommonLib/IntraPrediction.h:43,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/sse42/../../IbcHashMap.h:43,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/sse42/../IbcHashMapX86.h:40,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/sse42/IbcHashmap_sse42.cpp:1:
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/../CommonLib/Common.h:123:34: error: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Werror=deprecated-declarations]
123 | struct hash<Position> : public unary_function<Position, uint64_t>
| ^~~~~~~~~~~~~~
In file included from /usr/include/c++/12/string:48,
from /usr/include/c++/12/bits/locale_classes.h:40,
from /usr/include/c++/12/bits/ios_base.h:41,
from /usr/include/c++/12/ios:42,
from /usr/include/c++/12/ostream:38,
from /usr/include/c++/12/iostream:39,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/../CommonLib/CommonDef.h:42,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/sse42/../CommonDefX86.h:41,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/sse42/../IbcHashMapX86.h:39:
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/../CommonLib/Common.h:132:30: error: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Werror=deprecated-declarations]
132 | struct hash<Size> : public unary_function<Size, uint64_t>
| ^~~~~~~~~~~~~~
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
In file included from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/../CommonLib/Unit.h:43:
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/../CommonLib/Mv.h:276:28: error: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Werror=deprecated-declarations]
276 | struct hash<Mv> : public unary_function<Mv, uint64_t>
| ^~~~~~~~~~~~~~
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
make[2]: *** [source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/build.make:426: source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/__/CommonLib/QuantRDOQ.cpp.o] Error 1
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonLib/CMakeFiles/CommonLib.dir/build.make:370: source/Lib/CommonLib/CMakeFiles/CommonLib.dir/PicYuvMD5.cpp.o] Error 1
In file included from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/avx/../../Rom.h:42,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/avx/../InterpolationFilterX86.h:44,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/avx/InterpolationFilter_avx.cpp:1:
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/avx/../../Common.h:123:34: error: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Werror=deprecated-declarations]
123 | struct hash<Position> : public unary_function<Position, uint64_t>
| ^~~~~~~~~~~~~~
In file included from /usr/include/c++/12/string:48,
from /usr/include/c++/12/bits/locale_classes.h:40,
from /usr/include/c++/12/bits/ios_base.h:41,
from /usr/include/c++/12/ios:42,
from /usr/include/c++/12/ostream:38,
from /usr/include/c++/12/iostream:39,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonAnalyserLib/../CommonLib/../CommonLib/CommonDef.h:42,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/avx/../CommonDefX86.h:41,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/avx/../InterpolationFilterX86.h:43:
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/avx/../../Common.h:132:30: error: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Werror=deprecated-declarations]
132 | struct hash<Size> : public unary_function<Size, uint64_t>
| ^~~~~~~~~~~~~~
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
In file included from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/avx/../../Unit.h:43,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/avx/../../Picture.h:44,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/avx/../../CacheModel.h:41,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/avx/../../InterpolationFilter.h:43,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/avx/../InterpolationFilterX86.h:45:
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/avx/../../Mv.h:276:28: error: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Werror=deprecated-declarations]
276 | struct hash<Mv> : public unary_function<Mv, uint64_t>
| ^~~~~~~~~~~~~~
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/build.make:860: source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/__/CommonLib/x86/avx2/AdaptiveLoopFilter_avx2.cpp.o] Error 1
In file included from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/avx/../../Rom.h:42,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/avx/../RdCostX86.h:41,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/avx/RdCost_avx.cpp:1:
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/avx/../../Common.h:123:34: error: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Werror=deprecated-declarations]
123 | struct hash<Position> : public unary_function<Position, uint64_t>
| ^~~~~~~~~~~~~~
In file included from /usr/include/c++/12/string:48,
from /usr/include/c++/12/bits/locale_classes.h:40,
from /usr/include/c++/12/bits/ios_base.h:41,
from /usr/include/c++/12/ios:42,
from /usr/include/c++/12/ostream:38,
from /usr/include/c++/12/iostream:39,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonAnalyserLib/../CommonLib/../CommonLib/CommonDef.h:42,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/avx/../CommonDefX86.h:41,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/avx/../RdCostX86.h:40:
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/avx/../../Common.h:132:30: error: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Werror=deprecated-declarations]
132 | struct hash<Size> : public unary_function<Size, uint64_t>
| ^~~~~~~~~~~~~~
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
In file included from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/avx/../../RdCost.h:42,
from /usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/avx/../RdCostX86.h:42:
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/x86/avx/../../Mv.h:276:28: error: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Werror=deprecated-declarations]
276 | struct hash<Mv> : public unary_function<Mv, uint64_t>
| ^~~~~~~~~~~~~~
/usr/include/c++/12/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/build.make:566: source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/__/CommonLib/TrQuant.cpp.o] Error 1
cc1plus: all warnings being treated as errors
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonLib/CMakeFiles/CommonLib.dir/build.make:608: source/Lib/CommonLib/CMakeFiles/CommonLib.dir/UnitPartitioner.cpp.o] Error 1
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/build.make:272: source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/__/CommonLib/InterpolationFilter.cpp.o] Error 1
make[2]: *** [source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/build.make:286: source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/__/CommonLib/IntraPrediction.cpp.o] Error 1
cc1plus: all warnings being treated as errors
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/build.make:594: source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/__/CommonLib/Unit.cpp.o] Error 1
make[2]: *** [source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/build.make:300: source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/__/CommonLib/LoopFilter.cpp.o] Error 1
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonLib/CMakeFiles/CommonLib.dir/build.make:272: source/Lib/CommonLib/CMakeFiles/CommonLib.dir/InterpolationFilter.cpp.o] Error 1
cc1plus: all warnings being treated as errors
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonLib/CMakeFiles/CommonLib.dir/build.make:566: source/Lib/CommonLib/CMakeFiles/CommonLib.dir/TrQuant.cpp.o] Error 1
make[2]: *** [source/Lib/CommonLib/CMakeFiles/CommonLib.dir/build.make:706: source/Lib/CommonLib/CMakeFiles/CommonLib.dir/x86/sse41/AdaptiveLoopFilter_sse41.cpp.o] Error 1
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonLib/CMakeFiles/CommonLib.dir/build.make:426: source/Lib/CommonLib/CMakeFiles/CommonLib.dir/QuantRDOQ.cpp.o] Error 1
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/build.make:706: source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/__/CommonLib/x86/sse41/AdaptiveLoopFilter_sse41.cpp.o] Error 1
cc1plus: all warnings being treated as errors
cc1plus: all warnings being treated as errors
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/build.make:258: source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/__/CommonLib/InterPrediction.cpp.o] Error 1
make[2]: *** [source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/build.make:818: source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/__/CommonLib/x86/avx/Buffer_avx.cpp.o] Error 1
make[2]: *** [source/Lib/CommonLib/CMakeFiles/CommonLib.dir/build.make:300: source/Lib/CommonLib/CMakeFiles/CommonLib.dir/LoopFilter.cpp.o] Error 1
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonLib/CMakeFiles/CommonLib.dir/build.make:776: source/Lib/CommonLib/CMakeFiles/CommonLib.dir/x86/sse42/IbcHashmap_sse42.cpp.o] Error 1
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/build.make:762: source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/__/CommonLib/x86/sse41/RdCost_sse41.cpp.o] Error 1
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/build.make:790: source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/__/CommonLib/x86/avx/AdaptiveLoopFilter_avx.cpp.o] Error 1
cc1plus: all warnings being treated as errors
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/build.make:160: source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/__/CommonLib/CodingStructure.cpp.o] Error 1
make[2]: *** [source/Lib/CommonLib/CMakeFiles/CommonLib.dir/build.make:384: source/Lib/CommonLib/CMakeFiles/CommonLib.dir/Picture.cpp.o] Error 1
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonLib/CMakeFiles/CommonLib.dir/build.make:258: source/Lib/CommonLib/CMakeFiles/CommonLib.dir/InterPrediction.cpp.o] Error 1
cc1plus: all warnings being treated as errors
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonLib/CMakeFiles/CommonLib.dir/build.make:734: source/Lib/CommonLib/CMakeFiles/CommonLib.dir/x86/sse41/Buffer_sse41.cpp.o] Error 1
make[2]: *** [source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/build.make:440: source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/__/CommonLib/RdCost.cpp.o] Error 1
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonLib/CMakeFiles/CommonLib.dir/build.make:762: source/Lib/CommonLib/CMakeFiles/CommonLib.dir/x86/sse41/RdCost_sse41.cpp.o] Error 1
cc1plus: all warnings being treated as errors
cc1plus: all warnings being treated as errors
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonLib/CMakeFiles/CommonLib.dir/build.make:160: source/Lib/CommonLib/CMakeFiles/CommonLib.dir/CodingStructure.cpp.o] Error 1
make[2]: *** [source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/build.make:76: source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/__/CommonLib/AdaptiveLoopFilter.cpp.o] Error 1
make[2]: *** [source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/build.make:846: source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/__/CommonLib/x86/avx/RdCost_avx.cpp.o] Error 1
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonLib/CMakeFiles/CommonLib.dir/build.make:76: source/Lib/CommonLib/CMakeFiles/CommonLib.dir/AdaptiveLoopFilter.cpp.o] Error 1
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/Buffer.cpp: In member function ‘void AreaBuf<T>::subtract(T) [with T = short int]’:
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/Buffer.cpp:662:18: error: ‘clpRngDummy’ may be used uninitialized [-Werror=maybe-uninitialized]
662 | linearTransform( 1, 0, -val, false, clpRngDummy );
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/Buffer.cpp:624:6: note: by argument 6 of type ‘const ClpRng&’ to ‘void AreaBuf<T>::linearTransform(int, int, int, bool, const ClpRng&) [with T = short int]’ declared here
624 | void AreaBuf<Pel>::linearTransform( const int scale, const int shift, const int offset, bool bClip, const ClpRng& clpRng )
| ^~~~~~~~~~~~
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/Buffer.cpp:661:10: note: ‘clpRngDummy’ declared here
661 | ClpRng clpRngDummy;
| ^~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/build.make:118: source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/__/CommonLib/Buffer.cpp.o] Error 1
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/build.make:734: source/Lib/CommonAnalyserLib/CMakeFiles/CommonAnalyserLib.dir/__/CommonLib/x86/sse41/Buffer_sse41.cpp.o] Error 1
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonLib/CMakeFiles/CommonLib.dir/build.make:286: source/Lib/CommonLib/CMakeFiles/CommonLib.dir/IntraPrediction.cpp.o] Error 1
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/Buffer.cpp: In member function ‘void AreaBuf<T>::subtract(T) [with T = short int]’:
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/Buffer.cpp:662:18: error: ‘clpRngDummy’ may be used uninitialized [-Werror=maybe-uninitialized]
662 | linearTransform( 1, 0, -val, false, clpRngDummy );
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/Buffer.cpp:624:6: note: by argument 6 of type ‘const ClpRng&’ to ‘void AreaBuf<T>::linearTransform(int, int, int, bool, const ClpRng&) [with T = short int]’ declared here
624 | void AreaBuf<Pel>::linearTransform( const int scale, const int shift, const int offset, bool bClip, const ClpRng& clpRng )
| ^~~~~~~~~~~~
/usr/local/google/home/xlxiangli/program/g-ecm/source/Lib/CommonLib/Buffer.cpp:661:10: note: ‘clpRngDummy’ declared here
661 | ClpRng clpRngDummy;
| ^~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [source/Lib/CommonLib/CMakeFiles/CommonLib.dir/build.make:748: source/Lib/CommonLib/CMakeFiles/CommonLib.dir/x86/sse41/InterpolationFilter_sse41.cpp.o] Error 1
cc1plus: all warnings being treated as errors