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
 Correct symbols are showed as mistyped
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

AlfredS
Junior Member

24 Posts

Posted - Aug 16 2012 :  3:54:22 PM  Show Profile  Reply with Quote
Today I was update to version 1912 and from this moment several local variables inside my google test function are marked as mistyped.




The registry setting LimitMacro is No and LimitMacroParsing is 0. I don't know will be this important. Also I recognize that the highlighting of the symbol under the cursor donG??t work. In G?normalG? functions the behavior is normal. When I deactivate the setting "Underline mistyped symbols" the squiggles disappear.

Best regards Alfred

feline
Whole Tomato Software

United Kingdom
19148 Posts

Posted - Aug 20 2012 :  11:58:16 AM  Show Profile  Reply with Quote
Which IDE are you using? VA does not underline mistyped symbols in C++ in VS2010 and above.

Do you know which version of VA you were using before?

Where does the TEST macro come from? Is this something I can download and test here?

zen is the art of being at one with the two'ness
Go to Top of Page

AlfredS
Junior Member

24 Posts

Posted - Aug 22 2012 :  06:09:00 AM  Show Profile  Reply with Quote
Hi feline!

This was VS2010.

Today this happens under VS2010 and 2012. The different is only that the declaration is not underlined but the using of the local variable (&mExecBase) is.
Under 2012 the highlighting of the symbol under the caret works. Under 2010 donG??t highlight.




The TEST macro is from google test.

The underlining is definitely from VA. When I deactivate the setting G?underlinig mistyped symbolsG? the squiggles disappears.

The version before was 1908 and there they donG??t was flagged as wrong and the highlighting was also correct.

We have many tests similarly like they showed but not in every the local variables are viewed as mistyped.

Best regards
Alfred
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19148 Posts

Posted - Aug 23 2012 :  7:04:37 PM  Show Profile  Reply with Quote
Using VS2010, VA 1912, I have downloaded and extracted the google test code, and created the following simple test in a .cpp file:

#include <gtest/gtest.h>

TEST(CEENode, ActiveSuccessorsWCondDeActivate)
{
	mockEExecBase mExecBase;
	mockEENode mEENode(&mExecBase, 1, 0, EEO_STEP);
	banajkjhfs = 2;		// unknown local variable
}


I disabled VA in the extension manager, so VA was effectively uninstalled, and this is what I am seeing:



with VA enabled and active, this is what I am seeing:



I have set VA underlining to be in purple and green, so any underlining from VA should be obvious. The local variables are correctly shown in bold. The types are correctly underlined since they have not been created in my test solution.

Can you please export your VA and IDE settings and send them to me:

VA Options -> Performance -> Export Settings
IDE tools menu -> Import and Export Settings -> Export selected environment settings

I can then import them here and see if I can reproduce the problem. If you have a sample code file that shows the problem that would also be helpful.

Please submit the files via the form:

http://www.wholetomato.com/support/contact.asp

including this thread ID or URL in the description, so we can match it up.

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