Re: [Plib-users] Including string.h in library headers.
Brought to you by:
sjbaker
|
From: Steve B. <sjb...@ai...> - 2000-10-08 15:29:28
|
David Williams wrote:
>
> Is there any reason why ssg.h and js.h don't include string.h themselves,
> since(at least under recent Linux Distributions) it is needed to define
> memcpy?
Nope - it's a simple oversight.
I'll fix it.
> Pretty much the library expects you to define some functions that it uses
> internally(and which you shouldn't need to worry about as a user), prior
> to even including the library headers.
Since most main programs use <string.h> somewhere - and therefore include
it themselves, I doubt that anyone noticed this drop-off before.
Good catch! Thanks.
> Does anyone know if that would break out of the box compiles of the
> library on any systems?
No - it shouldn't.
--
Steve Baker HomeEmail: <sjb...@ai...>
WorkEmail: <sj...@li...>
HomePage : http://web2.airmail.net/sjbaker1
Projects : http://plib.sourceforge.net
http://tuxaqfh.sourceforge.net
http://tuxkart.sourceforge.net
http://prettypoly.sourceforge.net
|