▲ | veltas 4 days ago | |||||||
There's no VLA in my example. | ||||||||
▲ | sirwhinesalot 4 days ago | parent [-] | |||||||
Your example doesn't do any bounds checks, it just lets you get the sizeof. And the reason the sizeof works is the VLA infrastructure (which is not supported by MSVC so it won't compile the code). What I want is -fbounds-safety from clang. | ||||||||
|