[x265] MinGW, GCC: Shadow declaration of type 'byte' in rpuParser, x265 CLI
Mario *LigH* Rohkrämer
contact at ligh.de
Thu Dec 13 15:48:41 CET 2018
[ 97%] Building CXX object CMakeFiles/cli.dir/x265.cpp.obj
H:/development/media-autobuild_suite-master/build/x265-hg/source/x265.cpp:
In function 'int rpuParser(x265_picture*, FILE*)':
H:/development/media-autobuild_suite-master/build/x265-hg/source/x265.cpp:575:13:
warning: declaration of 'byte' shadows a global declaration [-Wshadow]
uint8_t byte;
^~~~
In file included from
H:/development/media-autobuild_suite-master/msys64/mingw32/i686-w64-mingw32/include/wtypes.h:8:0,
from
H:/development/media-autobuild_suite-master/msys64/mingw32/i686-w64-mingw32/include/winscard.h:10,
from
H:/development/media-autobuild_suite-master/msys64/mingw32/i686-w64-mingw32/include/windows.h:97,
from
H:/development/media-autobuild_suite-master/build/x265-hg/source/common/threading.h:32,
from
H:/development/media-autobuild_suite-master/build/x265-hg/source/output/reconplay.h:29,
from
H:/development/media-autobuild_suite-master/build/x265-hg/source/x265.cpp:33:
H:/development/media-autobuild_suite-master/msys64/mingw32/i686-w64-mingw32/include/rpcndr.h:63:25:
note: shadowed declaration is here
typedef unsigned char byte;
^~~~
--
Fun and success!
Mario *LigH* Rohkrämer
maito:contact at ligh.de
More information about the x265-devel
mailing list