This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]