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
 [1837] VA Doesn't recognize compiler intrinsics
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

horeaper
Senior Member

Singapore
49 Posts

Posted - Jan 28 2011 :  02:41:19 AM  Show Profile  Reply with Quote
Some compiler intrinsics didn't get colored, like __debugbreak(), _InterlockedAdd(), etc.

Most of this can be found inside "intrin.h" and under MSDN article "Compiler Intrinsics"

However, for those which also can be found inside "xmmintrin.h" (to be more specific, MMX, SSE and SSE2 intrinsics), everything is fine.



VA_X.dll file version 10.6.1837.0 built 2010.11.19
Licensed to:
VA X: horeaper
VA.NET 7.1: horeaper
DevEnv.exe version 9.0.30729.1 Professional
msenv.dll version 9.0.30729.1
Font: Consolas 13(Pixels)
Comctl32.dll version 6.10.6002.18305
Windows Vista 6.0 Build 6002 Service Pack 2
2 processors (x86)

Platform: Win32
Stable Includes:
D:\\Microsoft Visual Studio 9.0\\VC\\include;
D:\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\include;

Other Includes:

Stable Source Directories:
D:\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfc;
D:\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfcm;
D:\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\atl;
D:\\Microsoft Visual Studio 9.0\\VC\\crt\\src;


My life for Aiur!!!

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jan 29 2011 :  09:51:09 AM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=7146

For now, you can put the following lines to VA's stdafx.h as a workaround: (This file is parsed only by VA, not by the compiler)

#define __MACHINEI(x) x;
#define __MACHINEX64(x) x;
#define __MACHINEIA32(x) x;
#define __MACHINEX86X_X64(x) x;
#define __MACHINEX86X_IA64(x) x;
#define __MACHINEIA64(x) x;
#define __MACHINEW64(x) x;
#define __MACHINEIW64(x) x;
#define __MACHINESA(x) x;
#define __MACHINEARMX(x) x;
#define __MACHINECC(x) x;
#define __MACHINECE(x) x;
#define __MACHINE(x) x;

You can learn more about this file and its location:
http://docs.wholetomato.com?W302

Edited by - accord on Jan 29 2011 09:53:01 AM
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