Managed Visual C++/CLI project, compiler error C2686
wout
Posts: 5
With some obfuscation settings, the C++/CLI compiler can run into error C2686:
error C2686: cannot overload static and non-static member functions with the same parameter types
Does happen with:
I don't require any action, I'd just like to mention it so it's perhaps helpful to other users (and also myself in case I forget about it, then I can google to my own post).
- Wout
error C2686: cannot overload static and non-static member functions with the same parameter types
Does happen with:
<Obfuscation FieldsNameMangling="2" NameMangling="3" />Does not happen with:
<Obfuscation FieldsNameMangling="3" NameMangling="2" />Also doesn't seem to happen with ascii renaming. Didn't try all settings.
I don't require any action, I'd just like to mention it so it's perhaps helpful to other users (and also myself in case I forget about it, then I can google to my own post).
- Wout
Comments
I found some older tickets regarding this error and it's true that using a lower level of obfuscation should help. Thank you for posting this!
Jessica Ramos | Product Support Engineer | Redgate Software
Have you visited our Help Center?