Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 VA fails with typedef

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
samaursa Posted - Nov 29 2011 : 2:28:11 PM
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
5   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Nov 07 2014 : 09:54:09 AM
case=62858 is fixed in build 2052
accord Posted - Dec 01 2011 : 5:48:05 PM
I was able to reproduce the problem, thank you for the sample code:

case=62858
accord Posted - Nov 29 2011 : 5:28:45 PM
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.
samaursa Posted - Nov 29 2011 : 4:09:57 PM
Using Visual Studio 2008. VA intellisense also fails to work.
accord Posted - Nov 29 2011 : 3:56:20 PM
What Visual Studio version are you using? (VS2010 underlines code independently from VA.)

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