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: Thorsten Bonow
Subject: Re: xcscope.el does NOT search in .h files
Date: Mon, 30 Jul 2007 13:32:18 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.20 (linux)

>>>>> "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

-- 
Contact information and PGP key at
http://www-users.rwth-aachen.de/thorsten.bonow

"The Prius is so slow, the child could run on the street,
retrieve the ball and grow to puberty before you actually hit
it."

Jeremy Clarkson, Topgear


reply via email to

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