[x265] Compiling error at 82-per-cent
Steve Borho
steve at borho.org
Thu Aug 22 19:47:16 CEST 2013
On Thu, Aug 22, 2013 at 9:31 AM, JMK <three4teen16 at coldmail.nu> wrote:
> 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
>
Should be fixed now, thanks
--
Steve Borho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.videolan.org/private/x265-devel/attachments/20130822/6fa6aa8b/attachment.html>
More information about the x265-devel
mailing list