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
 VA fails with typedef
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

samaursa
Senior Member

Canada
47 Posts

Posted - Nov 29 2011 :  2:28:11 PM  Show Profile  Reply with Quote
In the following code:

voxel_type* currVoxel = mVoxels[i];
param_type* voxParam = &(currVoxel->GetParams());


where typedefs for the two types are defined in the header:

typedef VoxelParams                       param_type;
typedef Voxel<VoxelGrid, param_type>      voxel_type;


GetParams() is underlined red. VA also fails to produce the intellisence list. If I change (in the first snippet) voxel_type to Voxel<VoxelGrid, VoxelParams> then the underline disappears and I get the list back.

If you require, I can PM you the related files as the class that this code resides in is a template class with some macros.

Note that I have macro expansion set to be unlimited via registry edits.



VA Version: 10.6.1848.0

Edited by - samaursa on Nov 29 2011 2:30:40 PM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Nov 29 2011 :  3:56:20 PM  Show Profile  Reply with Quote
What Visual Studio version are you using? (VS2010 underlines code independently from VA.)

Edited by - accord on Nov 29 2011 3:56:41 PM
Go to Top of Page

samaursa
Senior Member

Canada
47 Posts

Posted - Nov 29 2011 :  4:09:57 PM  Show Profile  Reply with Quote
Using Visual Studio 2008. VA intellisense also fails to work.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Nov 29 2011 :  5:28:45 PM  Show Profile  Reply with Quote
Thanks.
Can you please send in the "related files" you had mentioned using the following form?
http://www.wholetomato.com/support/contact.asp

Please include the URL of this topic in the description field so we can match it up.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Dec 01 2011 :  5:48:05 PM  Show Profile  Reply with Quote
I was able to reproduce the problem, thank you for the sample code:

case=62858
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Nov 07 2014 :  09:54:09 AM  Show Profile  Reply with Quote
case=62858 is fixed in build 2052
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