This probably belongs on the developer list, but I'm not a member.  It
looks like a few places were missed in the shadow declaration cleanup.

[ 16%] Building CXX object 
src/CMakeFiles/lib_darktable.dir/common/imageio_rawspeed.cc.o
In file included from 
/home/rlk/sandbox/darktable/src/external/rawspeed/RawSpeed/StdAfx.h:111:0,
                 from 
/home/rlk/sandbox/darktable/src/external/rawspeed/RawSpeed/RawSpeed-API.h:22,
                 from 
/home/rlk/sandbox/darktable/src/common/imageio_rawspeed.cc:24:
/home/rlk/sandbox/darktable/src/external/rawspeed/RawSpeed/Point.h: In member 
function ‘void RawSpeed::iRectangle2D::offset(const RawSpeed::iPoint2D&)’:
/home/rlk/sandbox/darktable/src/external/rawspeed/RawSpeed/Point.h:62:39: 
error: declaration of ‘offset’ shadows a member of 'this' [-Werror=shadow]
   void offset(const iPoint2D& offset) {pos+=offset;}
                                       ^
cc1plus: all warnings being treated as errors
src/CMakeFiles/lib_darktable.dir/build.make:868: recipe for target 
'src/CMakeFiles/lib_darktable.dir/common/imageio_rawspeed.cc.o' failed
make[2]: *** [src/CMakeFiles/lib_darktable.dir/common/imageio_rawspeed.cc.o] 
Error 1
[ 16%] Building C object src/CMakeFiles/lib_darktable.dir/views/view.c.o
/home/rlk/sandbox/darktable/src/views/view.c: In function 
‘dt_view_image_expose’:
/home/rlk/sandbox/darktable/src/views/view.c:1147:13: error: shadowed 
declaration is here [-Werror=shadow]
       float x, y;
             ^
/home/rlk/sandbox/darktable/src/views/view.c:1147:13: error: shadowed 
declaration is here [-Werror=shadow]
/home/rlk/sandbox/darktable/src/views/view.c:1147:13: error: shadowed 
declaration is here [-Werror=shadow]
/home/rlk/sandbox/darktable/src/views/view.c:1147:13: error: shadowed 
declaration is here [-Werror=shadow]
/home/rlk/sandbox/darktable/src/views/view.c:1309:19: error: shadowed 
declaration is here [-Werror=shadow]
       const float x = zoom == 1 ? (0.07) * fscale : .21 * width;
                   ^
/home/rlk/sandbox/darktable/src/views/view.c:1309:19: error: shadowed 
declaration is here [-Werror=shadow]
/home/rlk/sandbox/darktable/src/views/view.c:1309:19: error: shadowed 
declaration is here [-Werror=shadow]
cc1: all warnings being treated as errors
src/CMakeFiles/lib_darktable.dir/build.make:2188: recipe for target 
'src/CMakeFiles/lib_darktable.dir/views/view.c.o' failed
make[2]: *** [src/CMakeFiles/lib_darktable.dir/views/view.c.o] Error 1
make[2]: Target 'src/CMakeFiles/lib_darktable.dir/build' not remade because of 
errors.
CMakeFiles/Makefile2:1448: recipe for target 
'src/CMakeFiles/lib_darktable.dir/all' failed
make[1]: *** [src/CMakeFiles/lib_darktable.dir/all] Error 2


-- 
Robert Krawitz                                     <r...@alum.mit.edu>

***  MIT Engineers   A Proud Tradition   http://mitathletics.com  ***
Member of the League for Programming Freedom  --  http://ProgFree.org
Project lead for Gutenprint   --    http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Reply via email to