Bug #11626 2007-07-24 14:23

dje

Parsing CC error due to macro

The following code gives error:

class MyClass1
{
    MyClass1();
    ~MyClass1();

    void MyMethod1();
}

class MyClass2
{
    MyClass2();
    ~MyClass2();

    void MyMethod2();
}


class MyClass
#ifdef FOO
            : public MyClass1
            , public MyClass2
#endif
{
    MyClass();
    ~MyClass();

    void MyMethod();
}


With it, the FOO class exists, MyClass does not and code completion does not work at all in MyClass.

Win XP
SVN4300
wxWidgets 2.8.4
Category
Plugin::CodeCompletion
Group
 
Status
Closed
Close date
2007-07-27 08:49
Assigned to
 
mandrav 2007-07-27 08:49

This bug is now fixed in HEAD.

Thank you for reporting it.