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

Deepthi Nandakumar deepthi at multicorewareinc.com
Wed Nov 4 09:43:14 CET 2015


Should be fixed now.

On Wed, Nov 4, 2015 at 2:11 PM, Mario *LigH* Rohkrämer <contact at ligh.de>
wrote:

> 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
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>



-- 
Deepthi Nandakumar
Engineering Manager, x265
Multicoreware, Inc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20151104/0c961dff/attachment-0001.html>


More information about the x265-devel mailing list