On Thu, Jan 17, 2019 at 2:27 AM, Salisbury, Mark <mark.salisb...@hp.com> wrote:
Thanks Tim!


I didn’t know about C++ variable length arrays. That makes perfect sense now.



Looks like people have been requesting Visual Studio add support for VLAs; there are no indications they will be supported.

We shouldn't be using VLAs in WebKit. It's not standard C++, and even if it was, it's not safe. The code should use std::array or perhaps WTF::Vector.

Michael

_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to