| Author |
Message |
wout
Joined: 12 Jul 2011 Posts: 4
|
Posted: Tue Jan 22, 2013 4:49 pm Post subject: Managed Visual C++/CLI project, compiler error C2686 |
|
|
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:
| Code: |
<Obfuscation FieldsNameMangling="2" NameMangling="3" />
|
Does not happen with:
| Code: |
<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 |
|
| Back to top |
|
 |
jessica.ramos
Joined: 23 Apr 2012 Posts: 76
|
Posted: Thu Jan 24, 2013 12:47 am Post subject: |
|
|
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
Technical Support
Red Gate Software Ltd. |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group