sdcc should declarations in the first entry of for, e.g.
for(int i = 0; i < 17; i++)
This is probably easier tom implement than allowing declarations everywhere, and still a very useful feature.
AFAIK this feature was introduced in ISO C99.
Philipp
Feature Requests: #165
Duplicate of #165.
Log in to post a comment.
Duplicate of #165.
Philipp