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
 BUG: Symbols definitions cannot be found
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

engenuity
Starting Member

Canada
1 Posts

Posted - Mar 30 2009 :  2:23:12 PM  Show Profile  Reply with Quote
Symbols definitions cannot be found when the definition is located in a file which is included inside a class definition body.
In the following example, we canG??t get reference to MyTestFunction() in OtherClass.cpp.

MyClass.h:
-----------

class MyClass
{
public:
int something:

#include G?extrafunctiondefinition.hG?

};

extrafunctiondefinition.h:
--------------------------

// the following code is included by MyClass
private:
MyTestFunction(){};

// end of file


OtherClass.cpp:
---------------

#include G?MyClass.hG?

OtherClass::foo()
{
MyClass::MyTestFunction(); <-- right-clik/got o definition or clicking the "go" button will not find the definition.
}

// end of file
----------------------------------------------------
Visual Assist X
Version 10.5.1715.0 build 2009.01.25


Microsoft Visual Studio 2005 (English)
Version 8.0.50727.762 (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727

Installed Edition: Professional

Microsoft Visual C++ 2005 77626-009-0000007-41995
Microsoft Visual C++ 2005

Microsoft Visual Web Developer 2005 77626-009-0000007-41995
Microsoft Visual Web Developer 2005

Microsoft Web Application Projects 2005 77626-009-0000007-41995
Microsoft Web Application Projects 2005
Version 8.0.50727.762

DirectX extensions for Visual Studio
DirectX extensions for Visual Studio .NET

Microsoft Visual Studio 2005 Professional Edition - ENU Service Pack 1 (KB926601)
This service pack is for Microsoft Visual Studio 2005 Professional Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/926601

Visual Assist X
For more information about Visual Assist X, see the Whole Tomato Software website at http://www.WholeTomato.com. Copyright (c) 1997-2009 Whole Tomato Software, Inc.

Edited by - engenuity on Mar 30 2009 5:11:13 PM

feline
Whole Tomato Software

United Kingdom
18952 Posts

Posted - Mar 31 2009 :  12:13:15 PM  Show Profile  Reply with Quote
This is a known problem and on our list of things to fix:

case=9117

zen is the art of being at one with the two'ness
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