Re: [Patch] Improve low-level network library, POP3 responsiveness on error

Albrecht Dreß <[email protected]>
Newsgroups gmane.comp.gnome.apps.balsa
Message-ID <[email protected]>
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.

_______________________________________________
balsa-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/balsa-list
signature.asc (application/pgp-signature, 473 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAABCAAGBQJaa3I7AAoJEEypbw5n59n4b2MH+wbhCST2hOmWXoWRQZFzyWyw
ufoJxJZEWtKsTIHKbpmXTGhyTGfEgPdDfkubvGtlm3rSR1TDxx992brWiYCy3y7h
oKUvBMO7l2EmEcH2FO3hMSBDAZakeecDkJLP8fiVU6TcvUK8hsk1RvWWlPlHWZoS
WKMYemXWhKYY+6Nrg6ApCd1FFRKioR2jbmneLhsC0pxo2UGnr4I8swOXZdcoJ2uf
IJIj+hYEfgM4vnlX9KC757kv7P/DrOQojOAscK5dLZCu5i88L4chkqD8dYRS82NI
Xxz2EYKfnrBu3ywXNUq9UZl2W5+BwIT8dWkVsN1s+oZkdLVQs5YrhC6Yh2pKDB0=
=L84g
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.