cuongdd2 / pw-tools

Automatically exported from code.google.com/p/pw-tools
0 stars 0 forks source link

[fix] sNPCedit does not compile in Visual Studio 2010 #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Reported by justabaka, May 18, 2011
Solution converts, everything compiles except sNPCedit. I am using the latest 
revision available (r29).

The error messages are:
COMMON\npcgen.h(147): error C2872: 'Dynamic' : ambiguous symbol could be 
'd:\work\pwtools\snpcedit\..\COMMON\npcgen.h(100) : Dynamic' or 
'System::Dynamic'

The next six lines trigger the same error:
snpcedit\MainWindow.h(2109)
snpcedit\MainWindow.h(2112)
snpcedit\MainWindow.h(2613)
snpcedit\MainWindow.h(2762)
snpcedit\MainWindow.h(2762)

Changing "Dynamic" to "::Dynamic" fixes the problem.

Original issue reported on code.google.com by max_schm...@gmx.net on 2 Sep 2012 at 9:54

GoogleCodeExporter commented 9 years ago
most of the projects are for Visual Studio 2008
i don't have Visual Studio 2010 to reproduce this and verify that your given 
fix will work

i will set the issus status to accepted, so other Visual Studio 2010 users will 
see this and manually fix this

Original comment by max_schm...@gmx.net on 2 Sep 2012 at 10:18