Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 [1837] VA Doesn't recognize compiler intrinsics

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
horeaper Posted - Jan 28 2011 : 02:41:19 AM
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;

1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Jan 29 2011 : 09:51:09 AM
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

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000