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 > # define __GNUC_PREREQ(maj,min) 0 > # endif > #endif > > I'll try this later and report back.
Confirmed. Adding the __GNUC_PREREQ define to darktable.h fixes it for me. I dunno if there's a better place though? So if someone from the devs could patch the right header or put the above block into darktable.h/.c directly, that will make 'master' build with the latest Clang on OS X again. .mm ------------------------------------------------------------------------------ _______________________________________________ darktable-devel mailing list darktable-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/darktable-devel