This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

Re: V3 PATCH: Insert `typename' and `ios_base::' where required


Mark Mitchell <mark@codesourcery.com> writes:

[...]

| What I couldn't figure out how to fix, however, was:
| 
|       int_type __plen = static_cast<size_t>(__newlen - __oldlen); 
|       char_type __pads[__plen];

Is there a reason why GCC's extension for variable-length array of
fondamental types can't be supported here?

-- Gaby
CodeSourcery, LLC                       http://www.codesourcery.com


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