This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: This change breaks gdb


Daniel Jacobowitz wrote:
> 
> On Wed, Feb 06, 2002 at 11:18:24AM -0800, Michael Snyder wrote:
> >
> > This change prevents GDB from building on Solaris.
> > Daniel, can you either back it out or do some configury?
> >
> > 2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
> >
> >       * bfd-in.h: Include <stdbool.h> if it is available.
> >       * bfd-in2.h: Regenerated.
> 
> I'll be mostly undoing it.  But it will come back to haunt us after
> 2.12 release - could you give me the exact error?

Sure -- it occurs while including curses.h in utils.c:
In file included from /tantor/progressive-test/solaris-000815/H-sparc64-sun-solaris2.7/lib/gcc-lib/sparc64-sun-solaris2.7/2.96-solaris-000815/include/curses.h:5,
                 from /es/scratch/msnyder/sourceware/src/gdb/utils.c:30:
/usr/include/curses.h:74: conflicting types for `_Bool'
/tantor/progressive-test/solaris-000815/H-sparc64-sun-solaris2.7/lib/gcc-lib/sparc64-sun-solaris2.7/2.96-solaris-000815/include/stdbool.h:41: previous declaration of `_Bool'

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