[PATCH v3] tftp.h: rework layout to work with fortification

Carlos O'Donell carlos_odonell@mentor.com
Mon Jun 4 00:50:00 GMT 2012


On 5/31/2012 10:14 PM, Mike Frysinger wrote:
> On Monday 07 May 2012 22:10:13 Carlos O'Donell wrote:
>> On Mon, May 7, 2012 at 7:04 PM, Mike Frysinger wrote:
>>> i would have used flexible arrays but gcc doesn't allow those in unions:
>>> tftp.h:60:8: error: flexible array member in union
>>
>> I know, that would have been the best solution. You should file an
>> upstream enhancement request for this.
> 
> http://gcc.gnu.org/PR53548
> 
> guess we'll see if it goes anywhere
> -mike

Thanks for that, it's all part of being good community members :-)

Cheers,
Carlos
-- 
Carlos O'Donell
Mentor Graphics / CodeSourcery
carlos_odonell@mentor.com
carlos@codesourcery.com
+1 (613) 963 1026



More information about the Libc-alpha mailing list