bug-gnulib
[Top][All Lists]
Advanced

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

Re: [RFC] Use gnulib's stdint.h.


From: Joel Brobecker
Subject: Re: [RFC] Use gnulib's stdint.h.
Date: Fri, 4 Jul 2008 10:57:54 -0700
User-agent: Mutt/1.4.2.2i

Okidoke,

Here is a small status on this thread... Generally speaking, I expect
all issues to be officially resolved soon.

On Fri, Jun 27, 2008 at 03:31:39PM -0400, Joel Brobecker wrote:
> > Boo.  And if we change libdecnumber to use gnulib's version we'll
> > undoubtedly break gcc.  If we provide gstdint.h in the gdb directory
> > which redirects to <stdint.h>, will libdecnumber pick it up at this
> > point?
> 
> That's pretty ingenious. Indeed, that works, since the include order
> when compiling GDB files is the gdb directory, ahead of all other
> dependencies. I'll send a patch shortly after having tested it.

Patch posted a few days ago, and waiting for comments. I'll commit
in a few days if there is no objection.

> > >     #if ! defined __cplusplus || defined __STDC_CONSTANT_MACROS
> > >     
> > >     /* Get WCHAR_MIN, WCHAR_MAX.  */
> > >     # if ! (defined WCHAR_MIN && defined WCHAR_MAX)
> > >     #  include <wchar.h>
> > >     # endif
> > >     
> > >     #endif

Thanks to Ian's help, we removed the check against ctype.h, so this
issue should now be fixed.

-- 
Joel




reply via email to

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