This is the mail archive of the
mailing list for the GCC project.
Re: V3 PATCH: Insert `typename' and `ios_base::' where required
Mark Mitchell <email@example.com> writes:
| >>>>> "Richard" == Richard Henderson <firstname.lastname@example.org> writes:
| Richard> On Thu, Feb 15, 2001 at 07:44:23PM -0800, Mark Mitchell
| Richard> wrote:
| >> char_type __pads[__plen];
| Richard> Do yall support
| Richard> __extension__ char_type __pads[__plen];
| Well, sort-of.
| We do -- but when we do template instantiation we forget that
| __extension__ was specified. So, in a template instantiation this
| doesn't work. Fixing that is doable, but non-trivial.
Since, that is pretty much equivalent to calling __bultin_alloca(),
I think we can go with
char_type* __pads = __builtin_alloca(__plen * sizeof(char_type));
(But we would have loved the much simplified syntaxe).
CodeSourcery, LLC http://www.codesourcery.com