From: Joel Brobecker <brobecker@adacore.com>
To: hitlar <hitlar.india@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: Why gdb fail to make
Date: Wed, 15 May 2013 11:11:00 -0000 [thread overview]
Message-ID: <20130515111056.GI32170@adacore.com> (raw)
In-Reply-To: <1368615049967-231905.post@n7.nabble.com>
> 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;
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.
You can probably work-around the problem by adding
#include "exceptions.h"
around the start of utils.h. Or configure with --disable-werror.
--
Joel
next prev parent reply other threads:[~2013-05-15 11:11 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 [this message]
2013-05-15 11:24 ` Eli Zaretskii
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=20130515111056.GI32170@adacore.com \
--to=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