E
edhead2003
Hello all,
I suppose the title says most of it... this has happened to me a couple
of times with large C projects. You inherit a large source tree with a
complex set of Makefiles. In this environment, what is the easiest way
to find out where, say, a certain struct is defined? This isn't a
problem if the label is distinctive but in my current problem, I am
trying to find out where a BOOL convenience type has been defined -
when I grep the tree, there are defs for it all over the place - which
one is my current compilation using?
Does this question make any kind of sense? Coming from java with its
explicit package-directory mapping this sort of thing just seems
incredibly hard to keep non-confusing in C.
Cheers,
cam
I suppose the title says most of it... this has happened to me a couple
of times with large C projects. You inherit a large source tree with a
complex set of Makefiles. In this environment, what is the easiest way
to find out where, say, a certain struct is defined? This isn't a
problem if the label is distinctive but in my current problem, I am
trying to find out where a BOOL convenience type has been defined -
when I grep the tree, there are defs for it all over the place - which
one is my current compilation using?
Does this question make any kind of sense? Coming from java with its
explicit package-directory mapping this sort of thing just seems
incredibly hard to keep non-confusing in C.
Cheers,
cam