In a C++ project, there are enums with the same name from 2 different referenced dlls I don't own. And I'm getting this error:"'ExecutionMode': ambiguous symbol". How can I resolve the error??
The error is coming from this dll loaded as a nuget package, and it defines an enum like this:
typedef enum XxxMode {
MODE1 = 0,
MODE2 = 1,
} XxxMode ;
Another dll is C# module, and has enum named XxxMode as well. I need to keep this dll, but I don't need the enum in this dll... Is it possible to disable a specific enum??