Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Enums and namespace problem

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
BigHands Posted - Nov 02 2009 : 10:05:14 AM
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)
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Nov 02 2009 : 3:15:50 PM
I am seeing the same effect here. Thank you for the clear description.

case=2819

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000