Quote:
Originally Posted by DJ Tsunami
You are storing strings in an integer array. So those warnings are not so useless after all.
To use different variable types in an array probably want to use enum structs.
Also, spcomp already has -w<num> to disable a specific warning by its number.
|
Thanks a lot, didn't know about this.
But it would be more convenient with the preprocessor directive #pragma so that the online compiler would also support this function