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
 VA1444: Incorrect macro parsing
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

vortex
New Member

Ukraine
6 Posts

Posted - Mar 22 2006 :  05:19:46 AM  Show Profile  Reply with Quote
Hi. I found a small problem with macro parsing in pure virtual function definition. Here the test code snippet:

#define ABSTRACT = 0

class A
{
public:
virtual float Boo() const ABSTRACT;
virtual void Doo() = 0;
virtual int Foo() ABSTRACT;
};

int main()
{
A a;
a.Boo();
a.Foo(); // @1
a.Doo();
}

The problem is that function Foo in class A does not parsed correctly,
and underlined as mistyped symbol. Suggestion listboxes does not contain function Foo as well, and does not recognized in usage cases (in line marked @1 in our example). Note that const abstract functions (as Boo function in our example) parsed correctly.

System information:
VA_X: 10.2.1444 built 2006.03.12
IDE: MSVS 2005. Version 8.0.50727.42. English

Explanation picture:


Edited by - vortex on Mar 22 2006 05:33:40 AM

rhummer
Tomato Guru

USA
527 Posts

Posted - Mar 22 2006 :  10:18:36 AM  Show Profile  Reply with Quote
I cannot toally reproduce this as I don't have 2005 on my machine right now, but I do see Foo underlined in VS2003.

Do you have "Get content from default Intellisense" on or off?

Tools Engineer - Raven Software
VS2005 SP2/VS2008 SP1 - VAX <LATEST> - Win 7 x64

Go to Top of Page

vortex
New Member

Ukraine
6 Posts

Posted - Mar 23 2006 :  04:02:16 AM  Show Profile  Reply with Quote
At a time of first post "Get content from default Intellisense" opthion was turned off.
After turning it on and typing "a." I have correct list of available functions from Intellisense, but function Foo does not recognized by Visual Assist as before. Function name underlined as mistyped symbol. It does not appear neither in Context field nor in Definition field (functions Doo and Boo showed correctly)
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18950 Posts

Posted - Mar 23 2006 :  3:31:01 PM  Show Profile  Reply with Quote
i am seeing the same thing here, but i am not getting any success with default intellisense *sigh* at least this is working for you.

case=1070

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

support
Whole Tomato Software

5566 Posts

Posted - Oct 29 2007 :  02:45:31 AM  Show Profile  Reply with Quote
case=1070 is fixed in Build 1614
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