chenlee
Junior Member
11 Posts |
Posted - Feb 25 2005 : 11:21:32 PM
|
Giving 3 headers below included in an vcproj, vs.net 2003 IDE will 100% crash after openning the project. Disable va.x plugin in IDE, crash disappears too. I've tested with general release 1293, and vs.net 2003 simplfied chinese version.
Looks like bugs when handling recusive included headers.
This kind of inclusion may happen in real code, with proper use of ifdef to prevent actual recursion. But va.x search headers by ignoring ifdef(s) (Am I right?). So valid c++ code may product recursive inclusion in va.x.
h1.h ==== // empty header 1
h2.h ==== #include "h1.h" class h2{}; #include "h3.h"
h3.h ==== #include "h1.h" class h3{}; #include "h2.h" |
|