This ought to be pretty straightforward. My build invokes a
bunch of error messages in the "Problems" window. The first
one is:
"CSM_PWL" has already been declared in the current scope
If I double-click on the message, it pulls up a line in a
header file where the struct CSM_PWL is declared. Logically,
the header is probably #included inside some .c file and
there may be another #include higher up that declares the
same struct. So ...
1. Is there any way to get CCS to tell me which .c file it
was compiling when it emitted this error?
2. If not, is there any other way to get CCS to help trace
backward to that earlier declaration?
This is conceptually related to a question I asked about
"listing" files last year, as finding this kind of error
with any tool that generates what I call a listing is a
trivial exercise.