Re: Broken Win32 build


Subject: Re: Broken Win32 build
From: Vlad Harchev (hvv@hippo.ru)
Date: Tue Oct 10 2000 - 02:40:30 CDT


On Tue, 10 Oct 2000, Dom Lachowicz wrote:

 Hi!

> Ok,
>
> Well according to tinderbox, the fix I committed to the tree in the
> encodingManager classes broke the windows build for exactly the same type of
> reason that the current code broke my build.
>
> Here's the prototype in /usr/include/iconv.h I have from RedHat7:
> /* Convert at most *INBYTESLEFT bytes from *INBUF according to the
> code conversion algorithm specified by CD and place up to
> *OUTBYTESLEFT bytes in buffer at *OUTBUF. */
> extern size_t iconv (iconv_t __cd, char **__restrict __inbuf,
> size_t *__restrict __inbytesleft,
> char **__restrict __outbuf,
> size_t *__restrict __outbytesleft);

 Very strange that __inbuf is not 'const char**'. It's a bug.

> This leads me to believe that I'm right, but that still leaves win32 broken.
> Is Win32 picking up iconv prototypes from wv's iconv directory (which has
> the const char** declaration)? There is a possible fix for this in wvWare
> and now in your wv tree. Hopefully it'll work.

 Probably removing iconv directory from wv is a right thing then. It
shouldn't even be compiled.
 
> Dom

 Best regards,
  -Vlad



This archive was generated by hypermail 2b25 : Tue Oct 10 2000 - 02:55:19 CDT