Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Find Declarations behavior in #define
Find Declarations behavior in #define [message #1507764] Thu, 11 December 2014 22:47 Go to next message
Ron W is currently offline Ron WFriend
Messages: 8
Registered: December 2013
Junior Member
In both Kepler and Luna, even in a .c file, when pausing the cursor over a symbol appearing in a #define, not only does the pop-up not appear, but also [right click] -> [Declarations] results in "0 matches". Even when the declaration is in the same file, this happens.

When I pause the cursor over the same symbol in a function body, the pop-up appears and [right click] -> [Declarations] works correctly.

Also, the symbols have global scope and are declared before they are used (also, the code compiles correctly), so it's not a scoping issue.

This is similar to the problem in https://www.eclipse.org/forums/index.php/t/881008/


Eclipse IDE for C/C++ Developers
Version: Kepler Service Release 2
Build id: 20140224-0627

Eclipse GCC Cross Compiler Support
Version: 8.3.0.201402142303
Re: Find Declarations behavior in #define [message #1521085 is a reply to message #1507764] Sun, 21 December 2014 15:50 Go to previous message
Ralph Deffke is currently offline Ralph DeffkeFriend
Messages: 5
Registered: December 2014
Junior Member
I experienced the same problem, may I ask you what the target system or better what tool chain you are using?
Previous Topic:unable to run C++ programs in eclipse
Next Topic:No source available 0x... when trying to debug the Linux kernel
Goto Forum:
  


Current Time: Thu Apr 18 09:03:57 GMT 2024

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

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

Back to the top