Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Sorry, still search question

John Camelon wrote:
>Selection Search currently does not work for macro definitions/usage.

John, thanks a lot for the clarification.

But I have the very similar problem with functions too. I was sure that this 
is somehow connected...:-(

	I have a text, for example:

if (plrvw_FindPCI())
	return(-1);

1. How can I jump to the plrvw_FindPCI() code(body), which resides in another 
file pci.c of this project? F3 (and all other search functions on right mouse 
button) returns error message in status line.
2. Is there any way to jump to the plrvw_FindPCI() prototype, which resides in 
plrvw.h file included?

--

> Hello, all.
>    I run Eclipse 3.0.1 and CDT 2.0.2 on RH9/GTK.
>    I have an ordinary C-project (Linux driver) with 3 files as a
> managed build.
> All indexing options are ON.
>
>    File myinclude.h contains:
> #define RD_DE_REG      10
>    File myc.c contains somewhere in the code:
> f = open(Dev, RD_DE_REG);
> 
>    If I put a cursor on RD_DE_REG and press F3 (open declaration), I
> see search 
> panel for a while and then the text "the operation is unavailable for
the
> current selection" in the status bar appears in red.
>    The same result is for Gtrl-G.
>    If I do Ctrl-H and ask to search for RD_DE_REG in the workspace for
all 
> occurrences in C/C++ tab, I receive only one reference to the
myinclude.h 
> file.
>    The behavior is the same with function declarations/usage.
> 
>    The thing seem to be very basic, therefore I am sure I missed
> something very 
> basic too. 
>
>    I shall be very thankful for any help...
>
> --
> Leon Pollak
> leonp at plris dot com



Back to the top