Re: commit: [was: Windows need strlen declaration]


Subject: Re: commit: [was: Windows need strlen declaration]
From: Matthew Kirkwood (matthew@hairy.beasts.org)
Date: Sat Jun 09 2001 - 10:39:23 CDT


On Sat, 9 Jun 2001, Mike Nordell wrote:

> > This is a patch to make the ut_iconv.cpp file compile under Windows.
> > Windows compiler need an include file for the strlen fuction declaration.
>
> All platforms need the declaration of any function before it uses it.
> Why did this work for *nix?

gcc has builtin versions of a lot of the <string.h>
functions, so doesn't demand headers for them.

Matthew.



This archive was generated by hypermail 2b25 : Sat Jun 09 2001 - 10:39:46 CDT