I am seeing the same effect here. Thank you for the clear description.
case=4839
I have found a form of workaround, but it is not brilliant. Changing the code to read:
#define ENUM_64BIT enum : unsigned __int64
typedef enum { item1, item2, item3 } VAX_OK;
typedef ENUM_64BIT { item11, item12, item13 } VAX_NOT_OK;
stops the underlining, but VA does not properly understand this. The colouring is correct on my test system, but I am not getting the enum items suggested when typing "y."
Note I have edited VA's "StdAfx.h" file as explained in this FAQ entry:
http://docs.wholetomato.com?W302
and add the entry:
#define ENUM_64BIT enum
at the bottom. This file is used to help VA's parser with difficult code, and can be used to work around 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