On Fri, 2006-02-17 at 10:42 -0500, Mark Phippard wrote:
> Thanks, the IBM compiler team essentially gave the same answer.
> Ultimately, this function is only declared in strings.h and the compiler
> issues a warning that we were missing when the prototype is not found.
> Since the C runtime has a function named strcasecmp (for EBCDIC strings)
> the linker does not have a problem.
Ugh. IBM's header files are apparently trying to be compatible with
20-year-old System V and BSD, and could use an update. It's true that
strcasecmp and strncasecmp came from BSD which at first used
<strings.h>, but it's been a while since any popular Unix system didn't
make <string.h> and <strings.h> mostly identical, and declare
strcasecmp/strncasecmp in both. (Unless you've asked for a clean
namespace for a particular standard which doesn't include those
functions.)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 17 19:00:46 2006