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
 Macro after function declaration again...
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

dspdeveloper
Junior Member

10 Posts

Posted - Nov 16 2011 :  07:50:03 AM  Show Profile  Reply with Quote
This bug seems similar to this one:

http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=5851&SearchTerms=throw%28%29

I use the latest build (VA_X.dll file version 10.6.1859.0 built 2011.10.02)

If I use a macro for defining the throw() after a function declaration, the method is not recognized, first i thought the "noexcept" keyword is the problem (a fake version for older compilers) , but it seems that all lower-case macros are not working.


#define abcdef throw()
class MyClass
{
public:
	int myMethod() abcdef;		// BUG: myMethod not recognized 
};

#define noexcept throw()		// fake versions of noexcept, for older compilers:
class MyClass2
{
public:
	int myMethod() noexcept;	// BUG: myMethod not recognized 
};

#define ABCDEF throw()			
class MyClass3
{
public:
	int myMethod() ABCDEF;		// Big case letters WORK!
};


feline
Whole Tomato Software

United Kingdom
17027 Posts

Posted - Nov 16 2011 :  12:40:05 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=62756

I am quite surprised lower case macro's still cause this problem, but they clearly do.

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

dspdeveloper
Junior Member

10 Posts

Posted - Feb 01 2012 :  03:18:42 AM  Show Profile  Reply with Quote
Will this be fixed with the next release?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
17027 Posts

Posted - Feb 01 2012 :  7:21:23 PM  Show Profile  Reply with Quote
Unfortunately this has not yet been fixed, and I don't currently have an estimate for when it will be fixed. Our developers have looked at this, and are aware of it, but it is not yet clear how easy this will be to fix without breaking something else.

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

dspdeveloper
Junior Member

10 Posts

Posted - Feb 02 2012 :  02:55:44 AM  Show Profile  Reply with Quote
That for your answer, but that makes me really sad, i renewed my license because of this (and the other issue i mentioned here), and now i have to disable it :( because it works more bad then internal intellisense
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
17027 Posts

Posted - Feb 02 2012 :  6:01:15 PM  Show Profile  Reply with Quote
I am sorry to hear this. I have increased the priority on this bug for you.

There are a couple of things you could try in the mean time, to help. Firstly have you tried turning on:

VA Options -> Advanced -> Listboxes -> Get content from default Intellisense

This should help with listboxes, if they are more reliable from the IDE than from VA.

Another change is to edit

Edit VA's "StdAfx.h" file as explained in this FAQ entry:

http://docs.wholetomato.com?W302

and add the entries:

#define abcdef throw()
#define noexcept throw()

at the bottom, making sure there is a blank line at the end of the file. This file is used to help VA's parser with difficult code, and can be used to work around some odd effects. After modifying this file you need to rebuild the VA symbol database for the changes to take effect:

VA Options -> Performance -> General -> Rebuild symbol databases

This did not fully fix the problems for me, but it did help a bit.

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

dspdeveloper
Junior Member

10 Posts

Posted - Feb 03 2012 :  06:23:11 AM  Show Profile  Reply with Quote
Thanks! I will try that.
Go to Top of Page

dspdeveloper
Junior Member

10 Posts

Posted - Apr 02 2012 :  05:25:54 AM  Show Profile  Reply with Quote
FYI, the problem is still present with BUILD 1901 :(((
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
17027 Posts

Posted - Apr 03 2012 :  4:46:22 PM  Show Profile  Reply with Quote
Unfortunately this has not yet been fixed. It is down as a high priority bug, but I don't currently have an estimate on when it will be fixed. Did you try editing your VA StdAfx.h file, and did this help at all?

This thread should be updated when this is fixed.

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

support
Whole Tomato Software

5566 Posts

Posted - Oct 29 2012 :  11:13:22 AM  Show Profile  Reply with Quote
case=62756 is fixed in build 1918
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000