Community
Participate
Working Groups
the stl-file ctime contains several #undef macros (example: "#undef clock", line 50 stl version 4.4) when the file is opened in cdt (shift-click on "include <ctime>") and one tries to shift+click on "#undef clock" (actually on the word clock) a NullPointerException is thrown.
Created attachment 167914 [details] testcase + fix
Thanks for reporting the issue! Fixed in 7.0 > 20100511.
*** cdt cvs genie on behalf of mschorn *** Bug 312399: NPE using F3 on undef. [*] OpenDeclarationsJob.java 1.16 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/search/actions/OpenDeclarationsJob.java?root=Tools_Project&r1=1.15&r2=1.16 [*] CPPSelectionTestsAnyIndexer.java 1.31 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/selection/CPPSelectionTestsAnyIndexer.java?root=Tools_Project&r1=1.30&r2=1.31