Menu

#445 Support for(int a = 0;...)

None
closed
nobody
None
5
2015-08-02
2015-07-10
Wesley
No

This would not compile in 3.5.0.

for(int a = 0;a < 9;++a)

C99 allows this but this is an exception (unsupported) in SDCC.

Also this.

void function_A(void)
{
    ...
    int a;//Declare variable in the middle of a function.
}

Thank you.

Related

Feature Requests: #165

Discussion

  • Philipp Klaus Krause

    • status: open --> closed
    • Group: -->
     
  • Philipp Klaus Krause

    Duplicate of #165.

    Philipp

     

Log in to post a comment.