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 <virtualr...@gmail.com>wrote:

> 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
>
>
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to