[x265] v1.1+202: Variable shadowing warning (MSYS GCC)
Mario *LigH* Rohkrämer
contact at ligh.de
Mon Jun 30 08:47:01 CEST 2014
Yes, please do so; you did not yet, apparently (v1.1+209).
Am 26.06.2014, 13:23 Uhr, schrieb Deepthi Nandakumar
<deepthi at multicorewareinc.com>:
> Thanks for notifying. Will push in a fix.
> On Jun 26, 2014 4:32 PM, "Mario *LigH* Rohkrämer" <contact at ligh.de>
> wrote:
>
>> Compiling with MSYS/MinGW GCC 4.8.2 reports a warning:
>>
>> +----
>> h:/MSYS/home/Entwicklung/x265/source/Lib/TLibCommon/TComDataCU.cpp: In
>> member function 'void x265::TComDataCU::copyToPic(uint8_t)':
>> h:/MSYS/home/Entwicklung/x265/source/Lib/TLibCommon/TComDataCU.cpp:781:18:
>> warning: declaration of 'tmp' shadows a previous local [-Wshadow]
>> uint32_t tmp = (g_maxCUSize * g_maxCUSize) >> (depth << 1);
>> ^
>> h:/MSYS/home/Entwicklung/x265/source/Lib/TLibCommon/TComDataCU.cpp:770:14:
>> warning: shadowed declaration is here [-Wshadow]
>> uint32_t tmp = (g_maxCUSize * g_maxCUSize) >> (depth << 1);
>> ^
>> h:/MSYS/home/Entwicklung/x265/source/Lib/TLibCommon/TComDataCU.cpp:782:18:
>> warning: declaration of 'tmp2' shadows a previous local [-Wshadow]
>> uint32_t tmp2 = m_absIdxInLCU << m_pic->getLog2UnitSize() * 2;
>> ^
>> h:/MSYS/home/Entwicklung/x265/source/Lib/TLibCommon/TComDataCU.cpp:771:14:
>> warning: shadowed declaration is here [-Wshadow]
>> uint32_t tmp2 = m_absIdxInLCU << m_pic->getLog2UnitSize() * 2;
>> ^
>> +----
>>
>> --
>>
>> 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
>>
--
Fun and success!
Mario *LigH* Rohkrämer
mailto:contact at ligh.de
More information about the x265-devel
mailing list