Community
Participate
Working Groups
Create a managed c project with the file main.c: // comment out the include timer.h to // mess up outline view with follow #includes on #include <linux/timer.h> #include <stdio.h> enum days { MONDAY=2, TUESDAY, WEDNESDAY }; int main(int argc, char **argv) { printf("%d\n",MONDAY); return (0); } The outline view shows both includes, an enum and main. Turn on follow #includes in C/C++ preferences. Resave the file. Only the includes show up in the outline view. Comment out linux/timer.h. The outline view behaves better now (stdio, an enum and main). The header linux/timer.h was in sched.c included in defect 69330. There are other linux headers which break parser too.
Hi Tanya, I've spent time on this bug and I feel that it is not reproducible on the latest code. Please confirm. Thanks, Ravi
Guessing this was fixed by moving the Outline View to the DOM parser. Marking FIXED.