Menu

#354 Code completion not working with enum keyword

Undefined
open
nobody
Bug_Report
2018-10-20
2016-05-15
No

I decided to follow the "use enum keyword explicitly" rule in my current project. However, code completion does not like it. When using the following code in C file:

enum MyEnum { VAL_0, VAL_1 };

MyEnum foo()
{
}

enum MyEnum bar()
{
}

int main()
{
    MyEnum e = foo();
    MyEnum e2 = bar();
}

code completion in 'main' suggests only 'foo', but not 'bar'. Likewise, only 'foo' is visible in the function dropdown list.

Discussion

  • ollydbg

    ollydbg - 2016-05-18
    • labels: code completion, enum --> enum, CodeCompletion
     
  • Teodor Petrov

    Teodor Petrov - 2018-10-14
    • Milestone: Release_xx.yy --> Undefined
     
  • ollydbg

    ollydbg - 2018-10-20

    I can confirm this bug in the latest rev 11505

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.