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
 Volatile function pointers not recognised
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Roger Sanders
Starting Member

1 Posts

Posted - Jun 15 2011 :  9:47:21 PM  Show Profile  Reply with Quote
Just a simple bug report. Visual Assist X seems to not be able to recognise function pointer variables which are declared using the "volatile" keyword on the pointer itself, not the function signature. The variable is recognised if it is declared without any cv modifiers, or with the const modifier, but Visual Assist X fails to recognise a function pointer which has been declared as either volatile or const volatile. The variable appears with that underlined reg squiggle, and none of the VAX refactoring tools are available on it. Eg:
	void (* test)() = 0; //Recognised
	void (*const testc)() = 0; //Recognised
	void (*volatile testv)() = 0; //Not recognised
	void (*const volatile testcv)() = 0; //Not recognised


A bit obscure I know. Today was the first time I've ever had a legitimate reason to create a volatile function pointer, but there you are. I'm guessing it should be easy to fix.

For the record, I'm using Visual Assist X under Visual Studio 2005. This problem was observed in VAX version 10.6.1845.0.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jun 16 2011 :  11:00:23 PM  Show Profile  Reply with Quote
I am seeing the same problem here. Thank you for the clear description.

case=27885
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