Hi Peter: Am 25.01.18 21:59 schrieb(en) Peter Bloomfield:
Can you also upgrade Ninja from Debian Stretch? Surely Meson and Ninja would be kept compatible in a given distro!
Actually, I can install Ninja from Stretch – but the build with ninja now fails, with following compile error (note that I did not enable any options manually): <snip> ../balsa-master/src/sendmsg-window.c: In function ‘create_lang_menu’: ../balsa-master/src/sendmsg-window.c:4072:38: error: implicit declaration of function ‘setlocale’ [-Werror=implicit-function-declaration] balsa_app.spell_check_lang : setlocale(LC_CTYPE, NULL); ^ ../balsa-master/src/sendmsg-window.c:4072:9: error: nested extern declaration of ‘setlocale’ [-Werror=nested-externs] balsa_app.spell_check_lang : setlocale(LC_CTYPE, NULL); ^ ../balsa-master/src/sendmsg-window.c:4072:48: error: ‘LC_CTYPE’ undeclared (first use in this function) balsa_app.spell_check_lang : setlocale(LC_CTYPE, NULL); ^ ../balsa-master/src/sendmsg-window.c:4072:48: note: each undeclared identifier is reported only once for each function it appears in </snip> The symbol “HAVE_LOCALE_H” is not present in the meson-generated config.h (but in the autoconf-generated one). BTW, meson's config.h uses the “#pragma once” directive, which is non-standard (not defined in ISO/IEC 9899:1999 or 9899:2011). Will meson create a sane file if the compiler does not support this extension? Thanks, Albrecht.
Attachment:
pgpUhQrDJNnBo.pgp
Description: PGP signature