admin管理员组文章数量:1244221
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??
本文标签: C project2 enums with the same name from 2 different referenced dllsStack Overflow
版权声明:本文标题:C++ project : 2 enums with the same name from 2 different referenced dlls - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1740186927a2238381.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论