I am compiling my C90 c code in gcc. I get a warning ISO C90 forbids variable-size arraywhen I advertise as
int symbols[nc];
Where nc is an integer whose value is read from the input file. The values in the input files are changing, so I can’t keep a constant value. How can I get rid of it? Is it really necessary to eliminate this warning or can we just ignore it?
Thanks in advance.
source
share