Hello

Current git master cannot be compiled on Linux Mint 18.3 Mate x64

[ 93%] Building C object src/iop/CMakeFiles/bilat.dir/introspection_bilat.c.o 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:6323: recipe for target 'src/iop/CMakeFiles/colortransfer.dir/all' failed
make[1]: *** [src/iop/CMakeFiles/colortransfer.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 93%] Built target clahe
[ 93%] Built target dither
[ 93%] Linking C shared module libexposure.so
In file included from /home/sasha/Install/darktable/build/src/iop/introspection_colormapping.c:54:0: /home/sasha/Install/darktable/src/iop/colormapping.c:226:1: warning: ISO C90 forbids variable length array 'mi' [-Wvla]  static void get_cluster_mapping(const int n, float mi[n][2], float wi[n], float
 ^
/home/sasha/Install/darktable/src/iop/colormapping.c:226:1: warning: ISO C90 forbids variable length array 'wi' [-Wvla] /home/sasha/Install/darktable/src/iop/colormapping.c:226:1: warning: ISO C90 forbids variable length array 'mo' [-Wvla] /home/sasha/Install/darktable/src/iop/colormapping.c:226:1: warning: ISO C90 forbids variable length array 'wo' [-Wvla] /home/sasha/Install/darktable/src/iop/colormapping.c:227:33: warning: ISO C90 forbids variable length array 'mapio' [-Wvla]
                                 const float dominance, int mapio[n])
                                 ^
/home/sasha/Install/darktable/src/iop/colormapping.c:258: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/sasha/Install/darktable/src/iop/colormapping.c:278: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/sasha/Install/darktable/src/iop/colormapping.c:295:1: warning: ISO C90 forbids variable length array 'mean_out' [-Wvla]  static void kmeans(const float *col, const int width, const int height, const i
 ^
/home/sasha/Install/darktable/src/iop/colormapping.c:296:20: warning: ISO C90 forbids variable length array 'var_out' [-Wvla]
                    float var_out[n][2], float weight_out[n])
                    ^
/home/sasha/Install/darktable/src/iop/colormapping.c:296:20: warning: ISO C90 forbids variable length array 'weight_out' [-Wvla]
[ 93%] Linking C shared module libbilat.so
[ 93%] Built target exposure
cc1: error: unrecognized command line option '-Wno-format-truncation' [-Werror]
cc1: all warnings being treated as errors
src/iop/CMakeFiles/colormapping.dir/build.make:67: recipe for target 'src/iop/CMakeFiles/colormapping.dir/introspection_colormapping.c.o' failed make[2]: *** [src/iop/CMakeFiles/colormapping.dir/introspection_colormapping.c.o] Error 1 CMakeFiles/Makefile2:6360: recipe for target 'src/iop/CMakeFiles/colormapping.dir/all' failed
make[1]: *** [src/iop/CMakeFiles/colormapping.dir/all] Error 2
[ 93%] Built target bilat
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2



With respect,
Alexander Rabtchevich
___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to