Improvement. Compiler error should say directly when c99 style definition of var is attempted in c89 instead of ambiguous parsing error.
Things like for (int i=0; i < NUM_OPS; i++) { are easy to spot.
But then float tapsL[4] = {0}; mid scope had me scratching my head wondering if that is c89-valid initialization, until my slow brain caught up and realized I am not doing it at top of scope.
Derp.
Improvement. Compiler error should say directly when c99 style definition of var is attempted in c89 instead of ambiguous parsing error.
Things like
for (int i=0; i < NUM_OPS; i++) {are easy to spot.But then
float tapsL[4] = {0};mid scope had me scratching my head wondering if that is c89-valid initialization, until my slow brain caught up and realized I am not doing it at top of scope.Derp.