[x265] Compiling error at 82-per-cent

JMK three4teen16 at coldmail.nu
Thu Aug 22 16:31:06 CEST 2013


Using MSYS + GCC 4.8.1, commit=9f38435

[ 82%] Building CXX object encoder/CMakeFiles/encoder.dir/__/Lib/TLibEncoder/TEncSampleAdaptiveOffset.cpp.obj
g:/0000/Mercurial263/20130822/x265/source/Lib/TLibEncoder/TEncSampleAdaptiveOffset.cpp: In member function 'Void TEncSampleAdaptiveOffset::rdoSaoOnePart(SAOQTPart*, Int, Double, Int)':
g:/0000/Mercurial263/20130822/x265/source/Lib/TLibEncoder/TEncSampleAdaptiveOffset.cpp:128:10: error: declaration of 'depth' shadows a member of 'this' [-Werror=shadow]
     UInt depth = onePart->partLevel;
          ^
g:/0000/Mercurial263/20130822/x265/source/Lib/TLibEncoder/TEncSampleAdaptiveOffset.cpp: In member function 'Void TEncSampleAdaptiveOffset::runQuadTreeDecision(SAOQTPart*, Int, Double&, Int, Do
uble, Int)':
g:/0000/Mercurial263/20130822/x265/source/Lib/TLibEncoder/TEncSampleAdaptiveOffset.cpp:327:10: error: declaration of 'depth' shadows a member of 'this' [-Werror=shadow]
     UInt depth = onePart->partLevel;
          ^
g:/0000/Mercurial263/20130822/x265/source/Lib/TLibEncoder/TEncSampleAdaptiveOffset.cpp: In member function 'Void TEncSampleAdaptiveOffset::destroyEncBuffer()':
g:/0000/Mercurial263/20130822/x265/source/Lib/TLibEncoder/TEncSampleAdaptiveOffset.cpp:492:9: error: declaration of 'depth' shadows a member of 'this' [-Werror=shadow]
     Int depth;
         ^
g:/0000/Mercurial263/20130822/x265/source/Lib/TLibEncoder/TEncSampleAdaptiveOffset.cpp: In member function 'Void TEncSampleAdaptiveOffset::createEncBuffer()':
g:/0000/Mercurial263/20130822/x265/source/Lib/TLibEncoder/TEncSampleAdaptiveOffset.cpp:560:14: error: declaration of 'depth' shadows a member of 'this' [-Werror=shadow]
     for (Int depth = 0; depth < maxDepth + 1; depth++)
              ^
g:/0000/Mercurial263/20130822/x265/source/Lib/TLibEncoder/TEncSampleAdaptiveOffset.cpp: In member function 'Void TEncSampleAdaptiveOffset::rdoSaoUnitAll(SAOParam*, Double, Double, Int)':
g:/0000/Mercurial263/20130822/x265/source/Lib/TLibEncoder/TEncSampleAdaptiveOffset.cpp:1702:111:
 error: declaration of 'depth' shadows a member of 'this' [-Werror=shadow]
 Void TEncSampleAdaptiveOffset::rdoSaoUnitAll(SAOParam *saoParam, Double lambda, Double lambdaChroma, Int depth)


g:/0000/Mercurial263/20130822/x265/source/Lib/TLibEncoder/TEncSampleAdaptiveOffset.cpp:1722:19:
error: declaration of 'numNoSao' shadows a member of 'this' [-Werror=shadow]
     Int numNoSao[2];
                   ^
cc1plus.exe: all warnings being treated as errors
make[2]: *** [encoder/CMakeFiles/encoder.dir/__/Lib/TLibEncoder/TEncSampleAdaptiveOffset.cpp.obj
] Error 1
make[1]: *** [encoder/CMakeFiles/encoder.dir/all] Error 2
make: *** [all] Error 2


_____________________________________________________________
ps. Do you like my email address? Get yourself a coldmail.nu address too
http://www.coldmail.nu (it's free!)


More information about the x265-devel mailing list