Hello, When using VaX with CPPUNIT projects, VaX doesn't recognize the CPPUNIT macros. I tried to activate the enhanced macro parsing in the registry and using the va_stdafx.h file. But without success.
Any ideas how to resolve the issue?
VA_X.dll file version 10.9.2353.0 built 2019.11.07 DevEnv.exe version 16.4.29519.181 Professional msenv.dll version 16.0.29519.181 Comctl32.dll version 6.10.18362.476 Windows 10 10.0 1909 Build 18363.476 8 processors (x86-64, WOW64)
Visual Assist needs to parse a file in order to understand its contents. The easiest ways would be to make it happen is to add TestAssert.h (or where the macros are defined) to the project. VA parses every files in a project when you open them.
The includes for the macros are part of the project - they are part of the stdafx.h. But I'm not sure any more if the problem is caused by VA. The squiggles are green and this is not a VA color but an IntelliSense color.
A silly question, but does your solution compile without errors and warnings? Unless the IDE intellisense parser is confused, which can happen, the underlining should indicate something that the compiler will have a problem with.