This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils 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: [PATCH] Do without on-stack variable length arrays.


This is misstated.  VLAs are a standard feature.  What you're avoiding here
is VLA members of structs and unions, which are a GNU extension.

I also don't think you're doing it the ideal way.  A union of two arrays of
length one is useless.  It might trigger complaints from  _FORTIFY_SOURCE
or other such bounds-checking tools.

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