On Thu, Sep 26, 2013 at 1:39 PM, JMK <[email protected]> wrote:
> [ 79%] Building CXX object encoder/CMakeFiles/encoder.dir/motion.cpp.obj > f:/GITS/X265/0926/7bbdd/source/encoder/motion.cpp: In member function 'int > x265::MotionEstimate: > :motionEstimate(x265::ReferencePlanes*, const x265::MV&, const x265::MV&, > const x265::MV&, int, > const x265::MV*, int, x265::MV&)': > f:/GITS/X265/0926/7bbdd/source/encoder/motion.cpp:824:24: error: > declaration of 'fref' shadows a > previous local [-Werror=shadow] > pixel *fref = ref->fpelPlane + blockOffset + (qmv0.x >> 2) + (qmv0.y >> 2) > * ref->lumaStride; > ^ > f:/GITS/X265/0926/7bbdd/source/encoder/motion.cpp:288:12: error: shadowed > declaration is here > [-Werror=shadow] > pixel *fref = ref->fpelPlane + blockOffset; > ^ > cc1plus.exe: all warnings being treated as errors > make[2]: *** [encoder/CMakeFiles/encoder.dir/motion.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!) > _______________________________________________ > x265-devel mailing list > [email protected] > https://mailman.videolan.org/listinfo/x265-devel > Fix pushed. There is now a cmake build option "WARNINGS_AS_ERRORS" which defaults to OFF. When disabled, GCC builds will no longer stop on compile warnings. -- Steve Borho
_______________________________________________ x265-devel mailing list [email protected] https://mailman.videolan.org/listinfo/x265-devel
