Web lists-archives.com

Re: [Mingw-users] Problems compiling Gnulib-assisted projects with MinGW runtime 3.22.2




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/10/16 12:51, Eli Zaretskii wrote:
> Another gripe about 3.22.2 is that strcasecmp and strncasecmp are
> now declared in strings.h,

Which is as POSIX.1-2008 requires it:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/strcasecmp.html

> which many projects don't bother to include explicitly,

In which case, that would be a bug in those project sources.

> probably because it is somehow indirectly included by some other 
> header (string.h?).

Possibly because they rely on a POSIX non-compliance in glibc; (a
non-compliance which is acknowledged within glibc's <strings.h> itself,
as a BSD compatibility issue, and we certainly don't claim any level
of BSD conformity, so why would we duplicate some other project's
associated non-conforming (mis)features?)

> This causes warnings and errors, and requires explicit inclusion of
> strings.h in the affected source files.

Which is as it should be.

- -- 
Regards,
Keith.

Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iQIcBAEBAgAGBQJX++bzAAoJEMCtNsY0flo/aLYP/AzoRe1/bXvMYFJveIOz35zd
hnebWZkxkp9ICJmuAY1SYij/stvVn1bgbSFFtAOsONdmdzsywIKJ6DiLZekhDCRt
ol+YmmwjVnfdn1NLrLzD5B0b5Sq4IanmWd+aioV24bVcqN5kpIUHYGlfymPFJew+
h41sGFKbohVLlJcABAiHvJ0OU5xLRgCswxai1z8c4rFY/lFegWDJffh9E4bGN6KQ
pKq0IZX6J2kiCDPbuJRfT+oB2gy3AOPVMLCNd6C/SAx//6KAn6JwAyK0XYT4+B9s
WCBwQqOaos2AHYs5/jtIttqqlvz41BzQB8EFQShly0NIuSeEqmSjVnSxHYPsyXwt
1Q/Sx+kc/xUba89wWSZjiXSHaf3ZBHpA/HmtXq178fBGDMA4FwWUZjHIxwwGYUcq
5ncyVOQemjaGULMQdiSFQC+c0dfCjiXsfciith7dPCDoqT1D0dokq53DuQFMIgQk
9DMpAHBECFIVCB5VlxvIaEkEnu8fdDJRW8iGmMfYHNT0IerynLuLoCuERCZwez86
5GfFTIDX0a0m5OaBXqMXwa82uIcg/xFNS8/niXmlo9UzP8sWICwQHYsU+zQ9LChC
VsGWSfE/S5BbLbxVaJ+8JPxcm1jDx15JXP0Bh8wMyGQjViUdHMS7ml9+AJY6ieGD
thQSxYPFm2X9MWDGlWaj
=NokO
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe