Re: [PATCH] Fixing configure script and removing LOTS of GCC warnings on HP-UX
Micah Cowan <[email protected]> Tue, 11 Nov 2008 17:03:14 -0800
| Newsgroups | gmane.comp.gnu.screen |
|---|---|
| Message-ID | <491A2B52.4010301__31330.8397926905$1238089138$gmane$org@cowan.name> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Juergen Weigert wrote: > I'd assume the intent was not a redefinition, but a first initial > declaration. With NEWSOS and __hpux being among the few systems > that cared to ship a declaration of strlen in their header files at all. > > It went unnoticed all the years, as int and size_t are pretty compatible > on most systems -- at least for the actual sizes strings happen to have > in screen. > I'd recommend to treat it the same as K&R prototypes: historical baggage. Great, thanks very much! - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJGitS7M8hyUobTrERAkrKAJ41Y1LIYByBAujesHtgcO0d2GAM+ACfTVze /OE8odwX0lIdxhLSUPJC90U= =j7rU -----END PGP SIGNATURE-----