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
 Problem with array initializers
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

hfrmobile
Ketchup Master

Austria
79 Posts

Posted - Nov 23 2010 :  08:31:28 AM  Show Profile  Reply with Quote
When using the code from http://msdn.microsoft.com/en-us/library/1ywe7hcy%28v=VS.80%29.aspx VAX has some problems depending on compiler warning C4351:



"Context action": Refactoring not available on this symbol.

Visual Assist X for C/C++ and ReSharper, FxCop and StyleCop for C#, Eclipse Ganymede for Java

Edited by - hfrmobile on Nov 23 2010 08:33:06 AM

support
Whole Tomato Software

5566 Posts

Posted - Nov 23 2010 :  11:24:48 AM  Show Profile  Reply with Quote
I think this is VS2010's doing the underlining. Can you disable their underlining via "Tools/Options/Text Editor/C_C++/Advanced/Disable Squiggles" and see if this fixes it?
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Nov 23 2010 :  11:49:53 AM  Show Profile  Reply with Quote
It's vs2008. The problem is the struct name - S. case=52550
Go to Top of Page

hfrmobile
Ketchup Master

Austria
79 Posts

Posted - Nov 24 2010 :  11:30:31 AM  Show Profile  Reply with Quote
I renamed "S" to "TestStruct" and the problem disappeared.
What exactly is the problem with "S"? Too short? Or because the variable is named "s"?
What does case=52550 mean for me as user?

Visual Assist X for C/C++ and ReSharper, FxCop and StyleCop for C#, Eclipse Ganymede for Java
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Nov 24 2010 :  11:49:54 AM  Show Profile  Reply with Quote
case=52550 is the bug id - for our reference, so that someone else at WT doesn't create a duplicate bug. On the change history page ( http://www.wholetomato.com/support/history.asp ), it and this thread will be referenced when a build has been released with the fix. This thread will also be updated. The problem with S is fixed. L was also an issue, but other single letter names were fine. Due to a bug with string literal handling - S and L can be used as string literal prefixes in some scenarios.
Go to Top of Page

hfrmobile
Ketchup Master

Austria
79 Posts

Posted - Nov 25 2010 :  07:11:47 AM  Show Profile  Reply with Quote
Thank you for your reply.

AfxMessageBox(L"Okay, I understand!");


The change history page will also be useful for developers outside WT ;-)

But can't find case=52550 yet on that page. Which build fixes the problem?

Visual Assist X for C/C++ and ReSharper, FxCop and StyleCop for C#, Eclipse Ganymede for Java
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18948 Posts

Posted - Nov 25 2010 :  1:48:51 PM  Show Profile  Reply with Quote
case=52550 has been fixed internally, so this fix should appear in the next build of VA. I am not quite sure when this is due, but it should be in the next few weeks.

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

hfrmobile
Ketchup Master

Austria
79 Posts

Posted - Nov 26 2010 :  05:08:20 AM  Show Profile  Reply with Quote
thx a lot!

Visual Assist X for C/C++ and ReSharper, FxCop and StyleCop for C#, Eclipse Ganymede for Java
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jan 24 2011 :  4:10:09 PM  Show Profile  Reply with Quote
case=52550 is fixed in build 1840

Whole Tomato Software, Inc.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Feb 03 2011 :  9:15:40 PM  Show Profile  Reply with Quote
The fix for case=52550 has been rolled back in build 1842 due to a bug that it caused. Case=52550 has been reopened.
Go to Top of Page

hfrmobile
Ketchup Master

Austria
79 Posts

Posted - Feb 14 2011 :  1:46:57 PM  Show Profile  Reply with Quote
Uuuups ... ;-)

Visual Assist X for C/C++ and ReSharper, FxCop and StyleCop for C#, Eclipse Ganymede for Java
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Mar 17 2011 :  11:55:55 PM  Show Profile  Reply with Quote
case=52550 is fixed (again) in build 1845

Whole Tomato Software, Inc.
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