MENU_POPUPSUBMENU_HCHOT is defined as both a constant and a struct in the same namespace.
The new vsstyle.h is really problematic - this was not updated with programming languages in mind. 😶
Not sure what to do about it. C and C++ floods the enclosing scope with any enumerators for unscoped enumerations but vsstyle.h defines MENU_POPUPSUBMENU_HCHOT as both a type and as an enumerator (constant).
MSVC seems to accommodate this as contextual, but Rust doesn't like this.
MENU_POPUPSUBMENU_HCHOTis defined as both a constant and a struct in the same namespace.The new
vsstyle.his really problematic - this was not updated with programming languages in mind. 😶Not sure what to do about it. C and C++ floods the enclosing scope with any enumerators for unscoped enumerations but
vsstyle.hdefinesMENU_POPUPSUBMENU_HCHOTas both a type and as an enumerator (constant).MSVC seems to accommodate this as contextual, but Rust doesn't like this.