Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 recursive includes will crash vs.net 2003
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

chenlee
Junior Member

11 Posts

Posted - Feb 25 2005 :  11:21:32 PM  Show Profile
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"

feline
Whole Tomato Software

United Kingdom
18794 Posts

Posted - Mar 01 2005 :  5:17:34 PM  Show Profile
i have just added three headers with the same names and same content to a C++ project in .NET 2003 with VAX 1293

as a further test i have now added:

#include "h2.h"

to one of the cpp files in this project. the IDE still loads just fine for me. the fact you are using a localised version of the IDE could be relevant. i will ask support and see if they can suggest anything.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000