From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28015 invoked by alias); 15 May 2013 11:11:06 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 28006 invoked by uid 89); 15 May 2013 11:11:05 -0000 X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_NO autolearn=ham version=3.3.1 Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 15 May 2013 11:11:04 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 53DB22EE1E; Wed, 15 May 2013 07:11:03 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id TUXfNDd7SmDj; Wed, 15 May 2013 07:11:03 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id E66DD2EA10; Wed, 15 May 2013 07:11:02 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id D9606C26E7; Wed, 15 May 2013 15:10:56 +0400 (RET) Date: Wed, 15 May 2013 11:11:00 -0000 From: Joel Brobecker To: hitlar Cc: gdb@sourceware.org Subject: Re: Why gdb fail to make Message-ID: <20130515111056.GI32170@adacore.com> References: <1368615049967-231905.post@n7.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1368615049967-231905.post@n7.nabble.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2013-05/txt/msg00062.txt.bz2 > 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