|odd problem with CDT parser [message #1397807]
||Thu, 10 July 2014 07:28
| Filip Dossche
Registered: February 2014
I have an odd problem with the CDT parser in Eclipse (actually Xilinx SDK but essentially that is Eclipse + CDT).
I have two header files: for simplicity Header1.h and header2.h.
For the moment both header files are only included from within a single C file.
Potentially though they could be included from cpp files in the same project so I have foreseen the following snippets of code at the start and end of the files in both of them:
The odd thing is that the CDT parser correctly handles and shows header2.h but it shows it does not like the 'extern "c"' in header1.h and every other line within it.
Like header2.h the file is OK though because it is used in the project and works flawlessly.
As soon as I include header1.h into a cpp file the problem goes away but I would rather not do that unless it is necessary.
Anyone out there with ideas/suggestions on what the cause is and how to solve this one ?
Powered by FUDForum
. Page generated in 0.01764 seconds