[x265] warning: declaration of 'md' shadows a previous local (analysis.cpp - compressInterCU_*)

Mario *LigH* Rohkrämer contact at ligh.de
Wed Nov 4 09:41:15 CET 2015


GCC builds in all depths, both Win32 and Win64:

+----
h:/MSYS-GCC520/home/Entwicklung/x265/source/encoder/analysis.cpp: In  
member function 'x265::SplitData  
x265::Analysis::compressInterCU_rd0_4(const x265::CUData&, const  
x265::CUGeom&, int32_t)':
h:/MSYS-GCC520/home/Entwicklung/x265/source/encoder/analysis.cpp:942:28:  
warning: declaration of 'md' shadows a previous local [-Wshadow]
                  ModeDepth& md = m_modeDepth[depth];
                             ^
h:/MSYS-GCC520/home/Entwicklung/x265/source/encoder/analysis.cpp:819:16:  
note: shadowed declaration is here
      ModeDepth& md = m_modeDepth[depth];
                 ^
h:/MSYS-GCC520/home/Entwicklung/x265/source/encoder/analysis.cpp:993:28:  
warning: declaration of 'md' shadows a previous local [-Wshadow]
                  ModeDepth& md = m_modeDepth[depth];
                             ^
h:/MSYS-GCC520/home/Entwicklung/x265/source/encoder/analysis.cpp:819:16:  
note: shadowed declaration is here
      ModeDepth& md = m_modeDepth[depth];
                 ^
h:/MSYS-GCC520/home/Entwicklung/x265/source/encoder/analysis.cpp: In  
member function 'x265::SplitData  
x265::Analysis::compressInterCU_rd5_6(const x265::CUData&, const  
x265::CUGeom&, uint32_t&, int32_t)':
h:/MSYS-GCC520/home/Entwicklung/x265/source/encoder/analysis.cpp:1431:28:  
warning: declaration of 'md' shadows a previous local [-Wshadow]
                  ModeDepth& md = m_modeDepth[depth];
                             ^
h:/MSYS-GCC520/home/Entwicklung/x265/source/encoder/analysis.cpp:1293:16:  
note: shadowed declaration is here
      ModeDepth& md = m_modeDepth[depth];
                 ^
h:/MSYS-GCC520/home/Entwicklung/x265/source/encoder/analysis.cpp:1480:28:  
warning: declaration of 'md' shadows a previous local [-Wshadow]
                  ModeDepth& md = m_modeDepth[depth];
                             ^
h:/MSYS-GCC520/home/Entwicklung/x265/source/encoder/analysis.cpp:1293:16:  
note: shadowed declaration is here
      ModeDepth& md = m_modeDepth[depth];
                 ^
+----

-- 

Fun and success!
Mario *LigH* Rohkrämer
mailto:contact at ligh.de
 


More information about the x265-devel mailing list