Am Freitag, 14. Februar 2014, 20:38:56 schrieb Victor L:
> Hello,

Hello,

> I updated my local folder with the latest git version.
> When I run sudo make -j 4 install I get these errors :
> 
> [ 29%] Building C object
> src/CMakeFiles/lib_darktable.dir/common/mipmap_cache.c.o
> /home/victor/darktable/src/common/mipmap_cache.c: In function
> 'dt_mipmap_cache_write_get':
> /home/victor/darktable/src/common/mipmap_cache.c:1043:3: error: comparison
> of unsigned expression >= 0 is always true [-Werror=type-limits]
> /home/victor/darktable/src/common/mipmap_cache.c: In function
> 'dt_mipmap_cache_read_release':
> /home/victor/darktable/src/common/mipmap_cache.c:1062:3: error: comparison
> of unsigned expression >= 0 is always true [-Werror=type-limits]
> /home/victor/darktable/src/common/mipmap_cache.c: In function
> 'dt_mipmap_cache_write_release':
> /home/victor/darktable/src/common/mipmap_cache.c:1077:3: error: comparison
> of unsigned expression >= 0 is always true [-Werror=type-limits]
> cc1: all warnings being treated as errors
> make[2]: *** [src/CMakeFiles/lib_darktable.dir/common/mipmap_cache.c.o]
> Error 1
> make[1]: *** [src/CMakeFiles/lib_darktable.dir/all] Error 2
> make: *** [all] Error 2
> 
> The line generating the error is the following one :
> assert(buf->size >= DT_MIPMAP_0);
> 
> I commented the 3 lines and it solved the error; I guess its no big deal
> since the expression is always true.
> 
> I just wanted to know if this comes from me or not.

I thought I had fixed all of them. What version of gcc are you using? 4.6 
worked for me, and I also tried 4.7.

> Bye

Tobias

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Darktable-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-users

Reply via email to