On Fri, 10 Dec 1999, Michael Warner wrote:

> I finally got around to building dev.16, and the compile died in
> LYLeaks.c, like so:
> 
> ./LYLeaks.c: In function `LYLeakSAVsprintf':
> ./LYLeaks.c:713: incompatible type for argument 4 of `StrAllocVsprintf'
> ./LYLeaks.c:755: incompatible type for argument 4 of `StrAllocVsprintf'
> ./LYLeaks.c: In function `LYLeakHTSprintf':
> ./LYLeaks.c:815: incompatible type for argument 6 of `LYLeakSAVsprintf'
> ./LYLeaks.c: In function `LYLeakHTSprintf0':
> ./LYLeaks.c:839: incompatible type for argument 6 of `LYLeakSAVsprintf'
> 
> I looked around a little and saw what I thought maybe should have
> been a pointer and wasn't.  This miniscule change let it build,
> anyway ...
> 
> @@ -697,7 +697,7 @@
>       CONST short,    ssi_Line,
>       size_t,         inuse,
>       CONST char *,   fmt,
> -     va_list,        ap)
> +     va_list *,      ap)
>  {
>      AllocationList *ALp_old;
>      void *vp_oldAlloced;
> 
> It seems to run OK.

It looks like the right change to me.  Strange how this got in.

So you are compiling with --enable-find-leaks?  I haven't done
it in a while.  Let us know about what you find.

   Klaus

Reply via email to