Scenario
From time to time I get compiler errors in system headers. Currently for example:
c:\Programme\Microsoft Visual Studio 9.0\VC\ce\include\streambuf(55) : error C2143: syntax error : missing ')' before 'string'
As always, this is a false error message and of course there is a problem in my code. However, the compiler is not capable to tell me where it hurts. So I was looking for the usual suspects, e.g. "using namespace XXX" in some header files or something like that.
My problem is, I do not even know via which way the file streambuf was included into my code. At least I do not include it directly.
Concrete question
Is there a way to get some kind of "inclusion tree"? Something like
myClass.cpp
+ myClass.h
+ ios
...
+ streambuf
so I would be able to determine the error location a bit better.