Hi Peter,

I just compile last master (so 3.1.0+2031 now) and I don't have any error about libxcf on my side (nor I have on previous compile). But I am on Ubuntu 20.04 so that could make some differences.

Do you update submodule (git submodule update ; a git submodule init is sometimes good to do again) ?

I couldn't help more here so just ideas to follow for that errors.

Best regards,

Nicolas Auffray


Le 09/06/2020 à 17:33, Peter Harde a écrit :
Dear developers,

3.1.0+2016~g40a922d0e, Ubuntu 18.04

Running the build script build.sh a large number of warnings is thrown on terminal. All warnings relate to xcf.c. They seem to have no impact on the correct result of the build process, the binaries are working fine. A reduced list of the warnings is pasted below, if you are interested in the whole list, please let me know.

Best regards

Peter Harde

...
[  3%] Built target darktablerc_file
~/darktable/src/external/libxcf/xcf.c: In function ‘xcf_write_image_header’: ~/darktable/src/external/libxcf/xcf.c:329:67: warning: ISO C99 requires at least one argument for the "..." in a variadic macro
     PRINT_ERROR("error: the image header has already been written");
^
~/darktable/src/external/libxcf/xcf.c:336:58: warning: ISO C99 requires at least one argument for the "..." in a variadic macro
     PRINT_ERROR("error: rle compression is not supported");
                                                          ^
~/darktable/src/external/libxcf/xcf.c:362:45: warning: ISO C99 requires at least one argument for the "..." in a variadic macro
     PRINT_ERROR("error: can't write to file");
                                             ^
~/darktable/src/external/libxcf/xcf.c:367:59: warning: ISO C99 requires at least one argument for the "..." in a variadic macro
   CHECK_IO(xcf, xcf_write_uint32(xcf, xcf->image.width), 1);
                                                           ^
~/darktable/src/external/libxcf/xcf.c:368:60: warning: ISO C99 requires at least one argument for the "..." in a variadic macro
   CHECK_IO(xcf, xcf_write_uint32(xcf, xcf->image.height), 1);
                                                            ^
....
^
~/darktable/src/external/libxcf/xcf.c: In function ‘xcf_add_data’:
~/darktable/src/external/libxcf/xcf.c:1184:85: warning: ISO C99 requires at least one argument for the "..." in a variadic macro      PRINT_ERROR("error: the file is in error state. better add some error handling.");
^
~/darktable/src/external/libxcf/xcf.c:1197:65: warning: ISO C99 requires at least one argument for the "..." in a variadic macro
     PRINT_ERROR("error: no open layer or channel to add data to");
                                                                 ^
Merging translations into ~/darktable/build/data/darktable.desktop.
[  3%] Checking validity of darktable.desktop
...

___________________________________________________________________________
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.or

Reply via email to