Bug 15476

Summary: utils.h "enum errors" forward (incomplete) declaration causes build failure
Product: gdb Reporter: Joel Brobecker <brobecker>
Component: buildAssignee: Joel Brobecker <brobecke>
Severity: normal    
Priority: P2    
Version: 7.6   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description Joel Brobecker 2013-05-16 10:33:46 UTC
gdb/utils.h contains a forward declaration of type "enum errors", and this causes a build failure with old GCC compilers. I suspect the same is true of non-GNU compiler, as enum forward declarations are a GNU extension.

Ref: http://www.sourceware.org/ml/gdb-patches/2013-04/msg00829.html

A fix was checked it at:

This PR is to backport the patch to the GDB 7.6 branch.
Comment 1 cvs-commit@gcc.gnu.org 2013-05-16 10:55:01 UTC
CVSROOT:	/cvs/src
Module name:	src
Branch: 	gdb_7_6-branch
Changes by:	brobecke@sourceware.org	2013-05-16 10:55:00

Modified files:
	gdb            : ChangeLog 

Log message:
	Add PR entry to the last gdb/ChangeLog entry.
	(PR 15476)