Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Joel Brobecker <brobecker@adacore.com>
Cc: hitlar.india@gmail.com, gdb@sourceware.org
Subject: Re: Why gdb fail to make
Date: Wed, 15 May 2013 11:24:00 -0000	[thread overview]
Message-ID: <83obcc5vvr.fsf@gnu.org> (raw)
In-Reply-To: <20130515111056.GI32170@adacore.com>

> Date: Wed, 15 May 2013 15:10:56 +0400
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: gdb@sourceware.org
> 
> > In file included from ../../gdb-7.6.50-2/gdb/defs.h:803,
> >                  from ../../gdb-7.6.50-2/gdb/gdb.c:19:
> > ../../gdb-7.6.50-2/gdb/utils.h:283: warning: parameter has incomplete type
> > Makefile:979: recipe for target `gdb.o' failed
> 
> I think that's from the following declaration in utils.h:
> 
>         enum errors;

Right.

> This was reported recently, and we discovered that this type of
> declaration was a GCC extension not supported by older versions
> of GCC.
> 
> I thought we had this fixed, already, but it looks like not.

Sorry.

> You can probably work-around the problem by adding
> 
>         #include "exceptions.h"
> 
> around the start of utils.h.

My understanding was that this is the solution, not a work-around.


  reply	other threads:[~2013-05-15 11:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-15 10:51 hitlar
2013-05-15 11:11 ` Joel Brobecker
2013-05-15 11:24   ` Eli Zaretskii [this message]
2013-05-15 11:29     ` Joel Brobecker
2013-05-15 12:56       ` Joel Brobecker
2013-05-15 13:29         ` Eli Zaretskii
2013-05-16  3:51           ` hitlar
2013-05-16  4:16             ` hitlar
2013-05-16  9:42               ` Pedro Alves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83obcc5vvr.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=brobecker@adacore.com \
    --cc=gdb@sourceware.org \
    --cc=hitlar.india@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox