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]

Re: [PATCH v2 2/4] gdbserver: avoid empty structs


On 07/01/2013 06:24 PM, Mircea Gherzan wrote:
> 2013-06-25  Mircea Gherzan  <mircea.gherzan@intel.com>
> 
> gdbserver/
> 
> 	* notif.h (notif_event): Add a dummy member to avoid compiler
> 	errors.

I agree with making this unconditional.  Empty structs will have
sizeof 1 anyway.

OK.

-- 
Pedro Alves


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