I have a file that cscope doesn't like. While its name implies that it is c++, I don't think it uses any c++ features. I'm using the frontend kscope, but I doubt this bug is in kscope.
Create a project using only the attached file. Search for functions called by rs274ngc_open - kscope finds none. Search for functions calling rs274ngc_open - kscope finds convert_axis_offsets on line 11598 (it isn't there)! This might be due to the function-like macros used.
cscope version 15.7a
kscope version 1.9.4
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Gah! I hit enter by mistake while editing, and this got submitted prematurely. I tried again using only cscope, with the macros commented out, and got the same behavior. The file is at http://rs274ngc.googlecode.com/svn/trunk/rs274ngc_pre.cc
The problem is actually with all those preprocessor statements in the middle of function definitions' argument lists. There's no way cscope can recognize a construct like that as a proper function definition, and it even says so in the manual.