[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] Sorry, still search question
|
On Tuesday 09 November 2004 15:17, cebarne2@xxxxxxxxxxxxxxxxxxx wrote:
> We have similar problems here. As it was explained to me, functions that
> do not return ANSI C standard types are not supported by the parser yet (at
> least for goto declaration searches). If (plrvw_FindPCI()) returns
> boolean, that is not ANSI C standard.
Yes, I remember your post.
But, unfortunately, this is not my case, as the function is declared (and
prototyped) as following:
int plrvw_FindPCI();
and returns 0 on success.
Thanks.
> I hope this is supported soon. And, please correct me if I am
> misinterpreting the issue.
>
> Chad Barnes
> Rockwell Collins Inc.
>
>
>
> Leon Pollak
> <leonp@xxxxxxxxx>
> Sent by: To
> cdt-dev-admin@ecl cdt-dev@xxxxxxxxxxx
> ipse.org cc
>
> Subject
> 11/09/2004 03:40 [cdt-dev] Sorry, still search
> AM question
>
>
> Please respond to
> cdt-dev@eclipse.o
> rg
>
> 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
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-dev
>
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-dev
--
Dr.Leon M.Pollak
Director
PLR Information Systems Ltd.
leonp at plris dot com