Project

General

Profile

Bug #11025

Rework X-Trans filters -> build errors on Debian 8

Added by Christian Kanzian about 4 years ago. Updated over 3 years ago.

Status:
Fixed
Priority:
Low
Assignee:
Category:
General
Target version:
Start date:
05/13/2016
Due date:
% Done:

100%

Estimated time:
Affected Version:
git development version
System:
Debian
bitness:
64-bit
hardware architecture:
amd64/x86

Description

Hi,

After the commit darktable doesn't build any more on Debian 8 (Rework X-Trans filters a083e4c0f9ffc0423613f3a75e5e3457aa11430c).

Errors starting here:

In file included from /home/chri/Linux/darktable/build/src/iop/introspection_demosaic.c:38:0:
/home/chri/Linux/darktable/src/iop/demosaic.c: In function ‘process’:
/home/chri/Linux/darktable/src/iop/demosaic.c:1626:40: error: passing argument 7 of ‘xtrans_markesteijn_interpolate’ from incompatible pointer type [-Werror]
                                        piece->pipe->xtrans,
                                        ^
/home/chri/Linux/darktable/src/iop/demosaic.c:509:13: note: expected ‘const uint8_t (* const)[6]’ but argument is of type ‘uint8_t (*)[6]’
 static void xtrans_markesteijn_interpolate(float *out, const float *const in,
             ^
/home/chri/Linux/darktable/src/iop/demosaic.c:1630:25: error: passing argument 7 of ‘vng_interpolate’ from incompatible pointer type [-Werror]
                         piece->pipe->xtrans, only_vng_linear);
                         ^
/home/chri/Linux/darktable/src/iop/demosaic.c:1065:13: note: expected ‘const uint8_t (* const)[6]’ but argument is of type ‘uint8_t (*)[6]’
 static void vng_interpolate(float *out, const float *const in, const float *const processed_maximum,

A build log is attached.

Christian

build.log (59.6 KB) build.log Christian Kanzian, 05/13/2016 09:20 AM

Associated revisions

Revision ca749730 (diff)
Added by Roman Lebedev about 4 years ago

Fix those damn gcc warnings about constness of xtrans filters. Fixes #11025

History

#1 Updated by Roman Lebedev about 4 years ago

  • Assignee set to Roman Lebedev

#2 Updated by Roman Lebedev about 4 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Fixed

#3 Updated by Roman Lebedev over 3 years ago

  • Target version set to 2.2.0

Also available in: Atom PDF

Go to top