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
 Enums and namespace problem
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

BigHands
Senior Member

28 Posts

Posted - Nov 02 2009 :  10:05:14 AM  Show Profile  Reply with Quote
I'm having an issue where an enum with the name of a namespace is causing the namespace to not parse properly.

Here is a simple repo case:


namespace Foo
{
	enum SomeEnum
	{
		Goo = 1,
	};
}


namespace Goo
{
	void SomeFunction()
	{
	}
}


int main(int argc, char* argv[])
{
	Goo::SomeFunction();

	return 0;
}


I've created a screenshot of what things look like for me with this code:
http://img217.imageshack.us/i/vaxerror.png/

Moreover, I tried to do a Find References on the SomeFunction symbol, but VAX cannot find one (as indicated by the popup)


Here is my info:
VA_X.dll file version 10.5.1738.0 built 2009.10.01
DevEnv.exe version 9.0.30729.1
msenv.dll version 9.0.30729.1
Font: Courier New 12(Pixels)
Comctl32.dll version 6.0.2900.5512
Windows XP 5.1 Build 2600 Service Pack 3
2 processors (x86)

Edited by - BigHands on Nov 02 2009 10:12:13 AM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Nov 02 2009 :  3:15:50 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=2819
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