Closed mupfdev closed 2 years ago
Are you confident this is a bug free change?
I just made a full review of my changes and yes, I am confident. In almost all cases, I simply copied the variable declaration and moved it to the beginning of its scope. I have carefully considered all exceptions to this rule.
C89 provides that variables are declared at the beginning of their scope. In addition, variables cannot be declared in for-loops.
This problem mainly affects older compilers, such as GCC 2.9-psion-98r2 in my case.