In <mailman.171.1530627914.592.tin-dev@tin.org>, Corinna Vinschen wrote:
Just built on Cygwin. Looks good. Apart from a few "unused variable"
Thanks, for the feedback, those are "normal" and depend on --enable-nntp or --enable-nntp-only.
and "unorm_normalize_62 is deprecated" warnings,
this is on the TODO list | o add check for ICU unorm2.h/unorm2_normalize(); prefer it over | ICU unorm.h/unorm_normalize() volunteers? ,-)
there's one which is ...interesting:
pcre/pcre_study.c:419:35: warning: ‘<<’ in boolean context, did you mean ‘<’ ? [-Wint-in-bool-context] if ((tcode[c/8] && (1 << (c&7))) != 0) ~~~^~~~~~~~~
The && looks wrong. In the equivalent piece of code in upstream pcre-8.42 this reads:
if ((map[c/8] & (1 << (c&7))) != 0)
the included pcre source is very outdated (> 10 years old now) and should either be updated or dropped (at least any system wide installed version should be preferred). | o clean up included pcre stuff and update to >= pcre-8.42 | | o and pcre2 support (new API) | <http://www.pcre.org/current/doc/html/> But I'll fix that in the code. Thanks for the hint.
For the Cygwin release I will switch to --with-pcre for the time being.
This is highly recommended.