I've read multiple posts about this issue and have not been able to solve my problem. I have a file with a .c extension that compiles perfectly on gcc. I've made sure that in the project properties it is set to Compile to C code. Still, when I try to compile, it fails because it won't allow this me to declare an array like this:
int scArray[N][v];
This indicates to me that it is trying to compile my code as C++ (maybe I'm wrong on that though).
What can I do to fix this?