Re: [darktable-devel] Error compiling darktable

2014-04-08 Thread Roman Lebedev
Building master [with -werror] on OSX should be fixed by e2e40c6 However, i still think that somehow both of them (gcc and clang) are broken in OSX. On Sat, Apr 5, 2014 at 8:11 PM, Moritz Moeller wrote: > On 5/4/14 4:54 pm, Moritz Moeller wrote: > > So I guess adding this to darktable.h should f

Re: [darktable-devel] Error compiling darktable

2014-04-05 Thread Moritz Moeller
On 5/4/14 4:54 pm, Moritz Moeller wrote: > So I guess adding this to darktable.h should fix it: > > #ifndef __GNUC_PREREQ > # if defined __GNUC__ && defined __GNUC_MINOR__ > #define __GNUC_PREREQ(maj,min) \ > ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min)) > # else >

Re: [darktable-devel] Error compiling darktable

2014-04-05 Thread Moritz Moeller
On 5/4/14 4:54 pm, Moritz Moeller wrote: > So I guess adding this to darktable.h should fix it: > > #ifndef __GNUC_PREREQ > # if defined __GNUC__ && defined __GNUC_MINOR__ > #define __GNUC_PREREQ(maj,min) \ > ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min)) > # else >

Re: [darktable-devel] Error compiling darktable

2014-04-05 Thread Moritz Moeller
On 5/4/14 2:46 pm, Roman Lebedev wrote: > Hm, i am not quite sure how to fix this since i can not test it on OSX... > Can you join IRC in order to help me test possible fixes? I found this https://www.redhat.com/archives/libvir-list/2013-December/msg01318.html and this https://www.redhat.com/arch

Re: [darktable-devel] Error compiling darktable

2014-04-05 Thread Roman Lebedev
It is fine for me. On Sat, Apr 5, 2014 at 4:52 PM, Moritz Moeller wrote: > On 5/4/14 2:46 pm, Roman Lebedev wrote: > > Hm, i am not quite sure how to fix this since i can not test it on OSX... > > Can you join IRC in order to help me test possible fixes? > > Yes, but not before 6pm CET when I'm

Re: [darktable-devel] Error compiling darktable

2014-04-05 Thread Moritz Moeller
On 5/4/14 2:46 pm, Roman Lebedev wrote: > Hm, i am not quite sure how to fix this since i can not test it on OSX... > Can you join IRC in order to help me test possible fixes? My blind guess would be that __GNUC_PREREQ is just undefined in Clang. I will test this 1st, when I'm back home. .mm --

Re: [darktable-devel] Error compiling darktable

2014-04-05 Thread Moritz Moeller
On 5/4/14 2:46 pm, Roman Lebedev wrote: > Hm, i am not quite sure how to fix this since i can not test it on OSX... > Can you join IRC in order to help me test possible fixes? Yes, but not before 6pm CET when I'm back home and have access to my other laptop. Would that work for you? .mm ---

Re: [darktable-devel] Error compiling darktable

2014-04-05 Thread Roman Lebedev
Hm, i am not quite sure how to fix this since i can not test it on OSX... Can you join IRC in order to help me test possible fixes? On Sat, Apr 5, 2014 at 2:30 PM, Moritz Moeller wrote: > On 5/4/14 12:11 pm, Roman Lebedev wrote: > > This should be fixed now. > > Since i was not able to reproduce

Re: [darktable-devel] Error compiling darktable

2014-04-05 Thread bartokk
Hi Roman, I confirm that your fix worked. Cudos Mauro from Android Gpg public key: 0x73E5AEA3 Il 05/apr/2014 12:11 "Roman Lebedev" ha scritto: > Hi. > This should be fixed now. > Since i was not able to reproduce this issue in the first place, can you > please confirm that build is fixed? > > >

Re: [darktable-devel] Error compiling darktable

2014-04-05 Thread Moritz Moeller
On 5/4/14 12:11 pm, Roman Lebedev wrote: > This should be fixed now. > Since i was not able to reproduce this issue in the first place, can you > please confirm that build is fixed? That one yes, but master currently fails elsewhere with Clang. See http://pastebin.com/QcZdthNG .mm -

Re: [darktable-devel] Error compiling darktable

2014-04-05 Thread bartokk
Sure Roman, I'll try this afternoon and I will report the result. Thanks. Mauro from Android Gpg public key: 0x73E5AEA3 Il 05/apr/2014 12:11 "Roman Lebedev" ha scritto: > Hi. > This should be fixed now. > Since i was not able to reproduce this issue in the first place, can you > please confirm t

Re: [darktable-devel] Error compiling darktable

2014-04-05 Thread bartokk
Mmm, in my case the compiling process stops with that error, and I can't install darktable! Mauro from Android Gpg public key: 0x73E5AEA3 Il 05/apr/2014 10:46 "Moritz Moeller" ha scritto: > On 5/4/14 3:39 am, bartokk wrote: > > [...] > > unsigned expression < 0 is always false [-Werror=type-

Re: [darktable-devel] Error compiling darktable

2014-04-05 Thread Roman Lebedev
Hi. This should be fixed now. Since i was not able to reproduce this issue in the first place, can you please confirm that build is fixed? On Sat, Apr 5, 2014 at 12:46 PM, Moritz Moeller wrote: > On 5/4/14 3:39 am, bartokk wrote: > > [...] > > unsigned expression < 0 is always false [-Werror=typ

Re: [darktable-devel] Error compiling darktable

2014-04-05 Thread Moritz Moeller
On 5/4/14 3:39 am, bartokk wrote: > [...] > unsigned expression < 0 is always false [-Werror=type-limits] There are meny such warnings that one gets when building DT with the latest Clang (I am e.g. building with Apple LLVM version 5.1 (clang-503.0.38) on OS X). Aka: it is impossible to build DT

[darktable-devel] Error compiling darktable

2014-04-04 Thread bartokk
Hi, I get this error compiling darktable from git master: [ 94%] [ 94%] Generating introspection_temperature.c Building C object src/iop/CMakeFiles/spots.dir/introspection_spots.c.o Linking C shared module libspots.so [ 94%] Built target spots [ 94%] Generating introspection_tonecurve.c Scanning d