This is the mail archive of the gdb-patches@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]

checked in 7.6: Remove forward enum declaration in utils.h


> This fixes an issue reported by Eli at:
> http://www.sourceware.org/ml/gdb-patches/2013-04/msg00829.html
> 
> These forward declarations are a GNU extension, and they trigger
> a build warning when the compiler does not support it.
> 
> gdb/ChangeLog:
> 
>         * utils.h: #include "exceptions.h".
>         (enum errors): Remove partial declaration.
> 
> Tested on x86_64-linux.  Checked in.

And checked in the 7.6 branch as well, with the following description
in our 7.6 wiki page:

    PR build/15476 (Build failure due to incomplete enum type in utils.h)

Thanks for the feedback, Tom.

-- 
Joel


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