Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Way to un-define symbols for a file while indexing?(How can I remove a previously defined symbol when indexing a file)
Way to un-define symbols for a file while indexing? [message #1849165] Wed, 05 January 2022 20:02 Go to next message
Scott Willis is currently offline Scott WillisFriend
Messages: 2
Registered: January 2022
Junior Member
My current (inherited) project does some very complex things with the C preprocessor, including multiple passes, self-#includes with different #defines (different phases of code generation), X macros, you name it.

It would be very helpful to be able to remove or un-define specific symbol definitions when indexing specific files.

Is there a way to do that?

Thanks in advance!
Re: Way to un-define symbols for a file while indexing? [message #1849187 is a reply to message #1849165] Thu, 06 January 2022 15:36 Go to previous message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 742
Registered: August 2014
Senior Member
Have a look at <https://gcc.gnu.org/onlinedocs/cpp/>, part 3.8

If you can, clean up the mess.


--

Tauno Voipio
Previous Topic:Can't resolve includes after IDE restarts.
Next Topic:Saving Project Configuration Settings
Goto Forum:
  


Current Time: Fri Apr 19 04:19:06 GMT 2024

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

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

Back to the top