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
 Endless circulate of parsing
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

xxhxiang
New Member

2 Posts

Posted - Jan 18 2007 :  05:33:29 AM  Show Profile  Reply with Quote
In vc++,if class A contains " include "B.h" "
class B contains " include "A.h" "
when open the project,the va parses A.h and B.h in a endless circulate.
this makes the EMS memory increase rapidly,no endless.
Does anybody know the reason?

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Jan 18 2007 :  12:36:19 PM  Show Profile  Reply with Quote
Have a look at this FAQ

http://docs.wholetomato.com?W316

zen is the art of being at one with the two'ness
Go to Top of Page

xxhxiang
New Member

2 Posts

Posted - Jan 18 2007 :  8:38:44 PM  Show Profile  Reply with Quote
I have seen the FAQ.
But i am using visual c++ 2005 on mirco windows.
I used as follows:
A header in D:\\test\\myproject\\include\\aa.h
A header in D:\\test\\myproject\\include\\bb.h
they include each other
i open project in D:\\test\\myproject,then include "D:\\test\\myproject\\include" in my IDE,include aa.h in any header.
VA parses endless between aa.h and bb.h
Go to Top of Page

bugfix
Tomato Guru

Germany
324 Posts

Posted - Jan 19 2007 :  04:45:43 AM  Show Profile  Reply with Quote
while vax sure shouldn't go into an endless loop, you have some bad design issue here in first place!

http://www.mf-sd.de
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Jan 19 2007 :  07:28:00 AM  Show Profile  Reply with Quote
I have never been able to reproduce this problem with VA using a windows drive. What is D: on your machine? Is it a local drive, a network share, a USB drive, or something else?

Are you able to produce a test project that shows this effect that you would be able to send us?
Which IDE and version of VA are you using?


bugfix I tend to agree, but hopefully the actual code uses #ifdef #endif or #pragma once to limit this problem when the code is compiled. Plus sometimes headers just get into a mess when people are not paying attention to what they are doing *sigh*

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