Hi Roman,

Tried it.

Unfortunately still there :-(
[ 66%] Building CXX object 
src/iop/CMakeFiles/demosaic.dir/amaze_demosaic_RT.cc.o
/Users/ingo/src/darktable/src/iop/amaze_demosaic_RT.cc:42:11: error: expected
      unqualified-id
  if(std::isinf(x))
          ^
/usr/include/math.h:174:5: note: expanded from macro 'isinf'
    ( sizeof(x) == sizeof(float)  ? __inline_isinff((float)(x))          \
    ^

Cheers,
Ingo

> Am 20.03.2016 um 17:26 schrieb Roman Lebedev <lebedev...@gmail.com>:
> 
> On Sun, Mar 20, 2016 at 7:20 PM, Ingo Liebhardt <ingo.liebha...@ziggo.nl 
> <mailto:ingo.liebha...@ziggo.nl>> wrote:
>> Hi Roman,
>> 
>> I get it with this commit:
>> commit 8de505ce8b41251442704b9567f73db9fb7703ce
>> Author: Ulrich Pegelow <ulrich.pege...@tongareva.de 
>> <mailto:ulrich.pege...@tongareva.de>>
>> Date:   Sun Mar 20 13:11:25 2016 +0100
>> 
>>    tonecurve: fix long standing bug in opencl codepath; fixes #10957
>> 
> Hm, please execute:
> $ cd darktable/ && git clean -d -f -x
> 
> and re-run cmake and make
> 
>> Cheers,
>> Ingo
> Roman.
> 
>> 
>> Am 20.03.2016 um 17:13 schrieb Roman Lebedev <lebedev...@gmail.com>:
>> 
>> On Sun, Mar 20, 2016 at 7:08 PM, Ingo Liebhardt <ingo.liebha...@ziggo.nl>
>> wrote:
>> 
>> Dear all,
>> 
>> I am taking my first prudent steps into the darktable code, trying to get a
>> bit accustomed to it.
>> Past makes used to work just fine.
>> I’m using OS X + MacPorts.
>> I’ve not been pulling for a while.
>> 
>> I pulled today, the build failed (also after make cleans) on
>> amaze_demosaic_RT.cc.
>> 
>> To help you possibly locating something, the latest commit that was building
>> perfectly for was this one:
>> 
>> ——
>> git log -1
>> commit 3e8b92fb7d080feb2bdd6b0b92dfd7cfe28949fa
>> Author: Roman Lebedev <lebedev...@gmail.com>
>> Date:   Sun Feb 21 00:23:53 2016 +0300
>> 
>>   Graduatednd IOP: move gradient RGB color computation into
>> commit_params()
>> ——
>> 
>> The error I get now is this one:
>> 
>> With which commit? I'm pretty sure i fixed that already.
>> 
>> ——
>> Scanning dependencies of target demosaic
>> [ 66%] Building C object
>> src/iop/CMakeFiles/demosaic.dir/introspection_demosaic.c.o
>> [ 66%] Building CXX object
>> src/iop/CMakeFiles/demosaic.dir/amaze_demosaic_RT.cc.o
>> /Users/ingo/src/darktable/src/iop/amaze_demosaic_RT.cc:42:11: error:
>> expected unqualified-id
>> if(std::isinf(x))
>>         ^
>> /usr/include/math.h:174:5: note: expanded from macro 'isinf'
>>   ( sizeof(x) == sizeof(float)  ? __inline_isinff((float)(x))          \
>>   ^
>> /Users/ingo/src/darktable/src/iop/amaze_demosaic_RT.cc:43:10: error: no
>> member named '__builtin_isless'
>>     in namespace 'std'; did you mean simply '__builtin_isless'?
>>   r = (std::isless(x, m) ? m : (std::isgreater(x, M) ? M : x));
>>        ^~~~~
>> /Users/ingo/src/darktable/src/iop/amaze_demosaic_RT.cc:43:15: note:
>> '__builtin_isless' declared here
>>   r = (std::isless(x, m) ? m : (std::isgreater(x, M) ? M : x));
>>             ^
>> /usr/include/math.h:559:22: note: expanded from macro 'isless'
>> #define isless(x, y) __builtin_isless((x),(y))
>>                    ^
>> /Users/ingo/src/darktable/src/iop/amaze_demosaic_RT.cc:43:35: error: no
>> member named
>>     '__builtin_isgreater' in namespace 'std'; did you mean simply
>> '__builtin_isgreater'?
>>   r = (std::isless(x, m) ? m : (std::isgreater(x, M) ? M : x));
>>                                 ^~~~~
>> /Users/ingo/src/darktable/src/iop/amaze_demosaic_RT.cc:43:40: note:
>> '__builtin_isgreater' declared here
>>   r = (std::isless(x, m) ? m : (std::isgreater(x, M) ? M : x));
>>                                      ^
>> /usr/include/math.h:557:25: note: expanded from macro 'isgreater'
>> #define isgreater(x, y) __builtin_isgreater((x),(y))
>>                       ^
>> /Users/ingo/src/darktable/src/iop/amaze_demosaic_RT.cc:44:16: error:
>> expected unqualified-id
>> else if(std::isnan(x))
>>              ^
>> /usr/include/math.h:179:5: note: expanded from macro 'isnan'
>>   ( sizeof(x) == sizeof(float)  ? __inline_isnanf((float)(x))          \
>>   ^
>> 4 errors generated.
>> ——
>> 
>> With full build messages as annex below.
>> 
>> Hope it helps you.
>> 
>> I’d be glad for any hint.
>> 
>> Cheers,
>> Ingo
>> 
>> 
>> Annex:
>> ...
>> 
>> 
>> 
>> Roman.
>> 
>> ___________________________________________________________________________
>> darktable developer mailing list to unsubscribe send a mail to
>> darktable-dev+unsubscr...@lists.darktable.org
>> 
>> 
> ___________________________________________________________________________
> darktable developer mailing list
> to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org 
> <mailto:darktable-dev+unsubscr...@lists.darktable.org>

___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to