Menu

#176 Code completion fails with enums whose underlying types are specified (in C++11)

Undefined
fixed
ollydbg
Bug_Report
2019-02-11
2015-06-13
acqn
No
enum : int // specifying the underlying type to be int
{
    QWERT // CC fails
};

enum class StrongEnum : char // specifying the underlying type to be char
{
    YUIOP // not CC'ed either
};

Related

Tickets: #177

Discussion

  • acqn

    acqn - 2015-06-13

    To be clear: CC fails not only with the enumerators, but also with the named enum types themselves (either defined or declared with specified underlying types).

     
  • ollydbg

    ollydbg - 2015-06-14
    • assigned_to: ollydbg
    • Type: Undefined --> Bug_Report
     
    • ollydbg

      ollydbg - 2015-06-14

      I'm testing a patch, which looks OK in your two cases, see attachment.

       
  • ollydbg

    ollydbg - 2019-02-11
    • status: open --> fixed
     
  • ollydbg

    ollydbg - 2019-02-11

    Fixed in trunk now, rev11568.

     

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.