Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Indexer : Include files with hxx extension
Indexer : Include files with hxx extension [message #768155] Mon, 19 December 2011 17:03 Go to next message
Harry Houdini is currently offline Harry HoudiniFriend
Messages: 142
Registered: February 2010
Senior Member
Hello,

I have a include file with inline definitions, and its extension is hxx. There is no matching cpp (with the same prefix). The indexer doesn't see it (the calls to the functions in other fiels are not recognized).

How to make to indexer index the hxx files ?

Extra info : all the definitions in the .hxx are inside an anonymous namespace.

Thanks.

[Updated on: Mon, 19 December 2011 17:18]

Report message to a moderator

Re: Indexer : Include files with hxx extension [message #768171 is a reply to message #768155] Mon, 19 December 2011 17:31 Go to previous messageGo to next message
Harry Houdini is currently offline Harry HoudiniFriend
Messages: 142
Registered: February 2010
Senior Member
I went to Windows / Preferences / general / Content Types,
then to Text / C Source File / C++ Source File / C++ Header File

*.hxx is already in the list

Moreover, I removed the anonymous namespace, and the indexer still not recognize the used functions.

Of course, in include the hxx file in the cpp using the function (no problem when compiling).
Re: Indexer : Include files with hxx extension [message #800042 is a reply to message #768171] Thu, 16 February 2012 16:10 Go to previous message
Harry Houdini is currently offline Harry HoudiniFriend
Messages: 142
Registered: February 2010
Senior Member
OK. I put an empty hpp file with the same name prefix, and the idnexer now sees the declarations/definitions...
Previous Topic:GDB "no symbol table"
Next Topic:eclipse error bad value(cortex-m3) -mcpu=switch
Goto Forum:
  


Current Time: Thu Apr 18 23:41:10 GMT 2024

Powered by FUDForum. Page generated in 0.01657 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top