On Sat, Sep 30, 2017 at 4:41 PM, João Horta <jho...@gmail.com> wrote:
> [ 80%] Building C object
> src/iop/CMakeFiles/colortransfer.dir/introspection_colortransfer.c.o
> In file included from
> /home/jmhorta/darktable/build/src/iop/introspection_colortransfer.c:33:0:
> /home/jmhorta/darktable/src/iop/colortransfer.c:181:1: warning: ISO C90
> forbids variable length array ‘mi’ [-Wvla]
>  static void get_cluster_mapping(const int n, float mi[n][2], float
> mo[n][2], in
>  ^
> /home/jmhorta/darktable/src/iop/colortransfer.c:181:1: warning: ISO C90
> forbids variable length array ‘mo’ [-Wvla]
> /home/jmhorta/darktable/src/iop/colortransfer.c:181:1: warning: ISO C90
> forbids variable length array ‘mapio’ [-Wvla]
> /home/jmhorta/darktable/src/iop/colortransfer.c:201:1: warning: ISO C90
> forbids variable length array ‘mean’ [-Wvla]
>  static void get_clusters(const float *col, const int n, float mean[n][2],
> float
>  ^
> /home/jmhorta/darktable/src/iop/colortransfer.c:220:1: warning: ISO C90
> forbids variable length array ‘mean’ [-Wvla]
>  static int get_cluster(const float *col, const int n, float mean[n][2])
>  ^
> /home/jmhorta/darktable/src/iop/colortransfer.c:237:1: warning: ISO C90
> forbids variable length array ‘mean_out’ [-Wvla]
>  static void kmeans(const float *col, const dt_iop_roi_t *const roi, const
> int n
>  ^
> /home/jmhorta/darktable/src/iop/colortransfer.c:238:20: warning: ISO C90
> forbids variable length array ‘var_out’ [-Wvla]
>                     float var_out[n][2])
>                     ^
> cc1: error: unrecognized command line option ‘-Wno-format-truncation’
> [-Werror]
> cc1: all warnings being treated as errors
> src/iop/CMakeFiles/colortransfer.dir/build.make:67: recipe for target
> 'src/iop/CMakeFiles/colortransfer.dir/introspection_colortransfer.c.o'
> failed
> make[2]: ***
> [src/iop/CMakeFiles/colortransfer.dir/introspection_colortransfer.c.o] Error
> 1
> CMakeFiles/Makefile2:5884: recipe for target
> 'src/iop/CMakeFiles/colortransfer.dir/all' failed
> make[1]: *** [src/iop/CMakeFiles/colortransfer.dir/all] Error 2
> Makefile:149: recipe for target 'all' failed
> make: *** [all] Error 2
Start by purging the build dir.
Does it still happen then?

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

Reply via email to