|
|
Conditional compilation directives such as #if, #ifdef, and #ifndef allow you to put more than one definition of a function in your program, provided that after the preprocessor interprets the directives, only one definition of the function is passed on to the compiler. These conditional compilation directives are ignored by cscope. If there are multiple definitions of a function, cscope recognizes only the first definition that appears in the source text; this occurs even if the normal interpretation of the preprocessor directives would cause a different definition to be compiled.
A consequence of this is that the correct definition of
a function may not be accessible via the
``List functions called by this function
''
and
``List functions calling this function
''
menu items.
You may obtain a list of lines containing the name of the
function using the
``List lines containing this text string
''
menu item.
References to the function may be obtained using
the
``List references to this C symbol
''
menu item.