This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB 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]

[Bug build/15476] New: utils.h "enum errors" forward declaration


http://sourceware.org/bugzilla/show_bug.cgi?id=15476

             Bug #: 15476
           Summary: utils.h "enum errors" forward declaration
           Product: gdb
           Version: 7.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
        AssignedTo: unassigned@sourceware.org
        ReportedBy: brobecker@gnat.com
    Classification: Unclassified


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:
http://www.sourceware.org/ml/gdb-patches/2013-05/msg00522.html

This PR is to backport the patch to the GDB 7.6 branch.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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