I couldn’t disable it even though by using -std=c89
flag. How can I disable it?
Advertisement
Answer
You can generate an error for variable length arrays using a compiler flag:
-Werror=vla
I couldn’t disable it even though by using -std=c89
flag. How can I disable it?
You can generate an error for variable length arrays using a compiler flag:
-Werror=vla