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
 Parsing bug
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Twain
New Member

2 Posts

Posted - May 26 2011 :  6:49:24 PM  Show Profile  Reply with Quote
Not sure where to post bugs, please move if needed.

In the following class VA will not be able to encapsulate the variable m_variable.

VA seems to get very confused if you put two "public:" declarations in a row.

In my original code there was a macro (not sure if that matters).

class CFoo
{
public:

CFoo();
~CFoo();

BOOL Init();

void DoSomething();

public:

//macro was here

bool DoSomethingElse();

int m_variable;

private:

void DoSomethingSpecial();

public:

bool m_mine;

};

Edited by - Twain on May 26 2011 6:52:56 PM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - May 26 2011 :  9:35:56 PM  Show Profile  Reply with Quote
I tried to Encapsulate m_variable using VA 1849 and it worked for me. What Visual Assist version are you using?
I guess the problem is caused by the removed macro. If you could post that line you had removed and the source of the MACRO it may help. If you don't want to post it publicly you can send it to us and we will keep it private:

http://www.wholetomato.com/support/contact.asp

Please paste the URL of this topic into the description field so we can match it up.
Go to Top of Page

Twain
New Member

2 Posts

Posted - May 27 2011 :  12:00:22 PM  Show Profile  Reply with Quote
private email sent

i am running build 10.6.1845.0

Edited by - Twain on May 27 2011 12:01:54 PM
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - May 27 2011 :  6:06:46 PM  Show Profile  Reply with Quote
being discussed by email
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