Compiling in MSYS2/MinGW with GCC 9.2.0 reports warnings:

+----
Scanning dependencies of target encoder
[ 67%] Building CXX object encoder/CMakeFiles/encoder.dir/analysis.cpp.obj
E:/MABS/build/x265-hg/source/encoder/analysis.cpp: In member function 'void x265_10bit::Analysis::recodeCU(const x265_10bit::CUData&, const x265_10bit::CUGeom&, int32_t, int32_t)': E:/MABS/build/x265-hg/source/encoder/analysis.cpp:2498:54: warning: this statement may fall through [-Wimplicit-fallthrough=] 2498 | case 3: mvpSelect[2] = mode.amvpCand[list][ref][!(mode.cu.m_mvpIdx[list][pu.puAbsPartIdx])]; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
E:/MABS/build/x265-hg/source/encoder/analysis.cpp:2499:33: note: here
 2499 |                                 case 2: mvpSelect[1] = mvp;
      |                                 ^~~~
[ 69%] Building CXX object encoder/CMakeFiles/encoder.dir/search.cpp.obj
E:/MABS/build/x265-hg/source/encoder/search.cpp: In member function 'void x265_10bit::Search::predInterSearch(x265_10bit::Mode&, const x265_10bit::CUGeom&, bool, uint32_t*)': E:/MABS/build/x265-hg/source/encoder/search.cpp:2276:42: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2276 |                             mvpIdxSel[2] = !mvpIdx;
      |                             ~~~~~~~~~~~~~^~~~~~~~~
E:/MABS/build/x265-hg/source/encoder/search.cpp:2277:21: note: here
2277 | case 2: mvpSel[1] = interMode.amvpCand[list][ref][mvpIdx];
      |                     ^~~~
E:/MABS/build/x265-hg/source/encoder/search.cpp:2278:42: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2278 |                             mvpIdxSel[1] = mvpIdx;
      |                             ~~~~~~~~~~~~~^~~~~~~~
E:/MABS/build/x265-hg/source/encoder/search.cpp:2279:21: note: here
2279 | case 1: mvpSel[0] = interDataCTU->mv[list][cuIdx + puIdx].word;
      |                     ^~~~
+----

--

Fun and success!

Mario *LigH* Rohkrämer
maito:[email protected]
_______________________________________________
x265-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/x265-devel

Reply via email to