Remove C++ class names from binary dll file

后端 未结 2 1020
既然无缘
既然无缘 2021-01-05 03:13

I have a C++ project under Visual Studio 2010 which compiles into a dll. I have several private implementation-specific classes defined in my project, e.g. CMyClass

2条回答
  •  生来不讨喜
    2021-01-05 03:44

    As Tyler Gill mentioned in the comments, this string was left by compiler due to RTTI since CMyClass actually inherits IMyClass and is polymorphic. My problem can be easily solved by disabling RTTI with /GR- switch. Thanks.

提交回复
热议问题