On Sun, Mar 11, 2018 at 12:12 AM, Kees Cook <keesc...@chromium.org> wrote: > > The problem is that it's not a "constant expression", so the compiler > frontend still yells about it under -Wvla. I would characterize this > mainly as a fix for "accidental VLA" or "misdetected VLA" or something > like that. AIUI, there really isn't a functional change here.
C++11's constexpr variables would be nice to have. Cheers, Miguel