[U-Boot] [PATCH] part_dos: allocate sector buffer dynamically

Wolfgang Denk wd at denx.de
Thu May 12 19:35:49 CEST 2011


Dear Sergei Shtylyov,

In message <4DBFF9FD.1070907 at mvista.com> you wrote:
> 
> > Umm... you _are_ aware that you can put dynamically sized arrays on
> > the stack, aren't you?
> 
>     No, it seems I'm not. Is it a standard C now?

It's been a GCC extension forever (well, I have to admit that I don't
remember before GCC v1.39 or so).

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
When a man sits with a pretty girl for  an  hour,  it  seems  like  a
minute.  But let him sit on a hot stove for a minute -- and it's lon-
ger than any hour. That's relativity.              -- Albert Einstein


More information about the U-Boot mailing list