This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: Variable-sized types vs. templates


> On Tue, 08 Oct 2002 14:03:36 +0100, Richard Earnshaw <rearnsha@arm.com> wrote:
> 
> > Except, of course, that c99 says that only an "ordinary indentifier" may 
> > be a VLA.
> 
> I don't see that.  It says that only an ordinary identifier can have a VM
> type, but seems to specifically avoid saying the same thing about VLAs.
> 
> Jason

But 6.7.5 para 3 says that a VLA has VM type.  And in example 4 in 6.7.5.2 
para 10 shows that z[n] is not valid as a struct member.

R.


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