This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: V3 PATCH: Insert `typename' and `ios_base::' where required
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: V3 PATCH: Insert `typename' and `ios_base::' where required
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- Date: 16 Feb 2001 06:45:42 +0100
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <20010215194423Z.mitchell@codesourcery.com>
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