<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 26, 2013 at 1:39 PM, JMK <span dir="ltr"><<a href="mailto:three4teen16@coldmail.nu" target="_blank">three4teen16@coldmail.nu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">[ 79%] Building CXX object encoder/CMakeFiles/encoder.dir/motion.cpp.obj<br>

f:/GITS/X265/0926/7bbdd/source/encoder/motion.cpp: In member function 'int x265::MotionEstimate:<br>
:motionEstimate(x265::ReferencePlanes*, const x265::MV&, const x265::MV&, const x265::MV&, int,<br>
const x265::MV*, int, x265::MV&)':<br>
f:/GITS/X265/0926/7bbdd/source/encoder/motion.cpp:824:24: error: declaration of 'fref' shadows a<br>
previous local [-Werror=shadow]<br>
pixel *fref = ref->fpelPlane + blockOffset + (qmv0.x >> 2) + (qmv0.y >> 2) * ref->lumaStride;<br>
                        ^<br>
f:/GITS/X265/0926/7bbdd/source/encoder/motion.cpp:288:12: error: shadowed declaration is here<br>
[-Werror=shadow]<br>
pixel *fref = ref->fpelPlane + blockOffset;<br>
            ^<br>
cc1plus.exe: all warnings being treated as errors<br>
make[2]: *** [encoder/CMakeFiles/encoder.dir/motion.cpp.obj] Error 1<br>
make[1]: *** [encoder/CMakeFiles/encoder.dir/all] Error 2<br>
make: *** [all] Error 2<br>
<br>
_____________________________________________________________<br>
ps. Do you like my email address? Get yourself a <a href="http://coldmail.nu" target="_blank">coldmail.nu</a> address too<br>
<a href="http://www.coldmail.nu" target="_blank">http://www.coldmail.nu</a> (it's free!)<br>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div><br>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.<br clear="all"><div><br></div>
-- <br>Steve Borho
</div></div>