bug-gnu-libiconv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnu-libiconv] libiconv 1.12 broken on solaris


From: Philip Brown
Subject: Re: [bug-gnu-libiconv] libiconv 1.12 broken on solaris
Date: Sun, 7 Dec 2008 18:27:08 -0800
User-agent: Mutt/1.5.18 (2008-05-17)

On Sun, Dec 07, 2008 at 04:14:47PM +0100, Bruno Haible wrote:
> Hi,
> 
> Philip Brown wrote:
> > The one you have now in 1.12, crashes, with an error on the line
> > 
> > typedef int _verify_intmax_size[2*(sizeof(intmax_t) ==sizeof(uintmax_t))-1];
> > 
> > around line 257
> 
> Yes. libiconv now tries to assume a little more of ISO C.
> 

but if so, then you shouldnt care about actual size of int and unsigned int.
you should use "uint32" and so on, if you specifically care about sizes !

> libiconv 1.13 will deal with this better.

hopefully, your "better" will mean using those typedefs.

There are many many other programs using autoconf that seem to handling
things a lot simpler then what you have done, when caring about sizes,
and things with limit.h 
What you did with your own fake stdint.h, is very complicated. 
Perhaps you might copy one of those things, intead of trying to invent your
own, complicated way?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]