help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xcscope.el does NOT search in .h files


From: Rafal Kurcz
Subject: Re: xcscope.el does NOT search in .h files
Date: Mon, 30 Jul 2007 07:04:12 -0700
User-agent: G2/1.0

>     Rafal> Hello I found that sometimes the following cscope commands do not
>     Rafal> work for
>     Rafal> *.h C++ files:
>
> Hi,
>
> no time to dig deep, but...
>
>     Rafal> 1. cscope-find-functions-calling-this-function
>     Rafal> - when the function calling the function is inside the struct in 
> *.h
>     Rafal> file the Earth::speed() from class.h below function is not taken 
> into
>     Rafal> account
>
> ... since hiding functions in struct's is a C++ feature and not valid C and
> (quoting from the man page)
>
>     "cscope is an interactive, screen-oriented tool that allows the user to
>     browse through C source files for specified elements of code.":
>
> Have you checked by calling cscope directly (and not via it's xcscope 
> interface)
> that it's not a problem using cscope for a language it doesn't really support?

Yes I did - it does not work either.

-rk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]