Managed Visual C++/CLI project, compiler error C2686

woutwout Posts: 5
edited January 23, 2013 6:47PM in SmartAssembly
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:
<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

  • Jessica RJessica R Posts: 1,319 Rose Gold 4
    Hi Wout,

    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?


Sign In or Register to comment.