This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE 7.2 (Build 201207171143) Operating System = Linux version 3.1.0-1-amd64 running on amd64 Java; VM; Vendor = 1.6.0_24 Runtime = OpenJDK 64-Bit Server VM 20.0-b12 --------------- Let's have the following code: class base { public: virtual ~base() { } virtual operator int() const = 0; virtual operator char() const = 0; }; Both virtual methods are underlined with red, Hints saying about lots of unexpected tokens. If I remove '= 0', parser works fine, no red underlining. Code is compilable, and moreover used.
Created attachment 122475 [details] IDE log
confirmed The testcase should be covered now by C++/C++11 accuracy tests
same problem in boost_1_53_0/boost/exception/exception.hpp class AA { public: AA() { ; } virtual ~AA() throw() = 0; }; int main(int argc, char** argv) { return 0; }
http://hg.netbeans.org/cnd-main/rev/85f313954030
Integrated into 'main-golden', will be available in build *201305252300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/85f313954030 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixed #216084 - Wrong editor underline of pure virtual class member - type conversion operator