[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: xcscope.el does NOT search in .h files
From: |
Hadron |
Subject: |
Re: xcscope.el does NOT search in .h files |
Date: |
Mon, 30 Jul 2007 13:49:21 +0200 |
Thorsten Bonow <thorsten.bonow@post.rwth-aachen.de> writes:
>>>>>> "Rafal" == Rafal Kurcz <pawlaczus@yahoo.com> writes:
>
> 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?
>
> Toto
kscope is an excellent interface too.