T O P I C R E V I E W |
vortex |
Posted - Mar 22 2006 : 05:19:46 AM 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:
|
4 L A T E S T R E P L I E S (Newest First) |
support |
Posted - Oct 29 2007 : 02:45:31 AM case=1070 is fixed in Build 1614 |
feline |
Posted - Mar 23 2006 : 3:31:01 PM 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 |
vortex |
Posted - Mar 23 2006 : 04:02:16 AM 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) |
rhummer |
Posted - Mar 22 2006 : 10:18:36 AM 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? |