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

Re: [RFA] patch for mips gdb build failure with latest gcc


> Gdb for mips does not currently build with the latest gcc.  The error
> message is:
> 
>   In file included from support.c:26:
>   sim-main.h:370: unnamed fields of type other than struct or union are not allowed
> 
> The problem is an enum declaration inside a struct declaration, which
> is apparently now illegal.  This patch fixes it.
> 
> 
>   2001-11-17  Fred Fish  <fnf@redhat.com>
> 
> * sim-main.h (float_operation): Move enum declaration outside
> 	of _sim_cpu struct declaration.
> 

Little choice on this one :-)
yes, 'n' thanks.

Andrew



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