Compile Error in header after update to 17.2.0 |
Post Reply |
Author | |
scar
Newbie Joined: 03 March 2017 Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 03 March 2017 at 9:47am |
Hi all, I switched an existing Visual Studio 2008 Project with Toolkit Pro 16 to VS 2013 with Toolkit Pro 17.2 All I have done was to automaticly update the project and edit the include path to the new Toolkit Pro headers. If I compile the sources I got compile Errors in your Header files. What I have missed or what do I have to Change? regards scar Here are an example output of one compile: ClCompile: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /I. /I..\..\..\..\xiona\asp\6.3\include /I..\..\..\PlatoServer\Interface /I..\..\..\..\libs\src /I..\..\ClientBasics /I ..\..\..\BoostDev /I..\..\..\PlatoServer\libs\ReleaseInfo /I..\..\..\..\libs\CodejockSoftware\MFC\XtremeToolkitPro\Source /I..\..\Utilities\src /I..\..\src\ /Zi /nologo /W3 /WX- /O2 /Ob1 /Oy- /D WIN32 /D NDEBUG /D _WINDOWS /D _PLATO_CLIENT_ /D _MBCS /D _AFXDLL /GF /Gm- /EHa /MD /GS /Gy /fp:precise /Zc:wchar_t- /Zc:forScope /GR /Yc"stdafx.h" /Fp"Release\intermediate\Proxies.pch" /Fo"Release\intermediate\\" /Fd"Release\intermediate\vc120.pdb" /Gd /TP /wd4996 /wd4345 /analyze- /errorReport:queue /Zm200 StdAfx.cpp StdAfx.cpp C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\atlmfc\include\afx.h(38): warning C4996: 'MBCS_Support_Deprecated_In_MFC': MBCS support in MFC is deprecated and may be removed in a future version of MFC. [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\atlmfc\include\afx.h(33): Siehe Deklaration von 'MBCS_Support_Deprecated_In_MFC' -------------------------------------------------------------------------------- Including Xtreme Toolkit Pro m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Common/XTPSystemHelpers.h(231): error C2059: Syntaxfehler: '<' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Common/XTPSystemHelpers.h(231): error C2238: Unerwartete(s) Token vor ';' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Common/XTPSystemHelpers.h(518): error C2059: Syntaxfehler: '<' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Common/XTPSystemHelpers.h(518): error C2238: Unerwartete(s) Token vor ';' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Common/XTPSystemHelpers.h(821): error C2059: Syntaxfehler: '<' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Common/XTPSystemHelpers.h(821): error C2238: Unerwartete(s) Token vor ';' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Common/XTPColorManager.h(405): error C2059: Syntaxfehler: '<' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Common/XTPColorManager.h(405): error C2238: Unerwartete(s) Token vor ';' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Common/XTPDrawHelpers.h(826): error C2059: Syntaxfehler: '<' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Common/XTPDrawHelpers.h(826): error C2238: Unerwartete(s) Token vor ';' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Common/XTPDrawHelpers.h(2037): error C2059: Syntaxfehler: '<' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Common/XTPDrawHelpers.h(2037): error C2238: Unerwartete(s) Token vor ';' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Common/XTPDrawHelpers.h(2495): error C2059: Syntaxfehler: '<' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Common/XTPDrawHelpers.h(2495): error C2238: Unerwartete(s) Token vor ';' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Common/XTPImageManager.h(992): error C2059: Syntaxfehler: '<' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Common/XTPImageManager.h(992): error C2238: Unerwartete(s) Token vor ';' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Common/XTPResourceImage.h(97): error C2059: Syntaxfehler: '<' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Common/XTPResourceImage.h(97): error C2238: Unerwartete(s) Token vor ';' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Common/XTPHookManager.h(123): error C2059: Syntaxfehler: '<' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Common/XTPHookManager.h(123): error C2238: Unerwartete(s) Token vor ';' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Common/FrameShadow/XTPFrameShadowManager.h(127): error C2059: Syntaxfehler: '<' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Common/FrameShadow/XTPFrameShadowManager.h(127): error C2238: Unerwartete(s) Token vor ';' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] Including Markup (Use _XTP_EXCLUDE_MARKUP to exclude from build) m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Markup\Text\XTPMarkupInline.h(40): error C2504: 'CXTPMarkupTextElement': Basisklasse undefiniert [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Markup\Text\XTPMarkupInline.h(101): error C3861: "SetValue": Bezeichner wurde nicht gefunden. [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Markup\Controls\XTPMarkupUIElementCollection.h(74): error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt. [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Markup\Controls\XTPMarkupUIElementCollection.h(74): warning C4183: 'DECLARE_ENUM_VARIANT': Rückgabetyp fehlt; Memberfunktion, die 'int' zurückgibt wird angenommen [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Markup\Controls\XTPMarkupDefinitionBase.h(39): error C2504: 'CXTPMarkupFrameworkContentElement': Basisklasse undefiniert [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Markup\Controls\XTPMarkupGrid.h(70): error C2144: Syntaxfehler: 'long' sollte auf ';' folgen [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Markup\Controls\XTPMarkupGrid.h(70): error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt. [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Markup\Controls\XTPMarkupGrid.h(70): warning C4183: 'DECLARE_ENUM_VARIANT': Rückgabetyp fehlt; Memberfunktion, die 'int' zurückgibt wird angenommen [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Markup\Controls\XTPMarkupImage.h(41): error C2504: 'IXTPMarkupDeviceDependentImageSite': Basisklasse undefiniert [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Markup\Transform\XTPMarkupRotateTransform.h(36): error C2504: 'CXTPMarkupTransform': Basisklasse undefiniert [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] Including TabManager (Use _XTP_EXCLUDE_TABMANAGER to exclude from build) Including Controls (Use _XTP_EXCLUDE_CONTROLS to exclude from build) m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Controls/Util/XTPGlobal.h(124): error C2059: Syntaxfehler: '<' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Controls/Util/XTPGlobal.h(124): error C2238: Unerwartete(s) Token vor ';' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Controls/Combo/XTPFontComboBox.h(61): error C2059: Syntaxfehler: '<' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Controls/Combo/XTPFontComboBox.h(61): error C2238: Unerwartete(s) Token vor ';' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Controls/TagCloud/XTPTagCloudCtrl.h(192): error C2059: Syntaxfehler: '<' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\Controls/TagCloud/XTPTagCloudCtrl.h(192): error C2238: Unerwartete(s) Token vor ';' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] Including Calendar (Use _XTP_EXCLUDE_CALENDAR to exclude from build) - Calendar MAPI support excluded from build (Use _XTP_INCLUDE_CALENDAR_MAPI to include it) Including Chart (Use _XTP_EXCLUDE_CHART to exclude from build) Including CommandBars (Use _XTP_EXCLUDE_COMMANDBARS to exclude from build) m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\CommandBars/Themes/XTPCommandBarsOffice2013Theme.h(35): error C2504: 'CXTPCommandBarsModernUITheme': Basisklasse undefiniert [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] Including DockingPane (Use _XTP_EXCLUDE_DOCKINGPANE to exclude from build) Including FlowGraph (Use _XTP_EXCLUDE_FLOWGRAPH to exclude from build) Including GraphicLibrary (Use _XTP_EXCLUDE_GRAPHICLIBRARY to exclude from build) Including PropertyGrid (Use _XTP_EXCLUDE_PROPERTYGRID to exclude from build) Including ReportControl (Use _XTP_EXCLUDE_REPORTCONTROL to exclude from build) Including Ribbon (Use _XTP_EXCLUDE_RIBBON to exclude from build) Including ShortcutBar (Use _XTP_EXCLUDE_SHORTCUTBAR to exclude from build) Including SkinFramework (Use _XTP_EXCLUDE_SKINFRAMEWORK to exclude from build) m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\SkinFramework/XTPSkinObject.h(72): error C2504: 'CXTPSynchronized': Basisklasse undefiniert [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\SkinFramework/XTPSkinObject.h(245): error C2504: 'CXTPSynchronized': Basisklasse undefiniert [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\SkinFramework/XTPSkinObject.h(301): error C2504: 'CXTPSynchronized': Basisklasse undefiniert [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\SkinFramework/XTPSkinImage.h(37): error C2504: 'CXTPSynchronized': Basisklasse undefiniert [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\SkinFramework/XTPSkinImage.h(174): error C2504: 'CXTPSynchronized': Basisklasse undefiniert [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\SkinFramework/XTPSkinManager.h(98): error C2504: 'CXTPSynchronized': Basisklasse undefiniert [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\SkinFramework/XTPSkinManager.h(353): error C2504: 'CXTPSynchronized': Basisklasse undefiniert [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\SkinFramework/XTPSkinManager.h(442): error C2504: 'CXTPSynchronized': Basisklasse undefiniert [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\SkinFramework/XTPSkinManager.h(986): error C2143: Syntaxfehler: Es fehlt ';' vor '*' [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\SkinFramework/XTPSkinManager.h(986): error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt. [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\SkinFramework/XTPSkinManagerSchema.h(45): error C2504: 'CXTPSynchronized': Basisklasse undefiniert [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\SkinFramework/XTPSkinManagerSchema.h(158): error C2504: 'CXTPSynchronized': Basisklasse undefiniert [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\SkinFramework/XTPSkinManagerResource.h(41): error C2504: 'CXTPSynchronized': Basisklasse undefiniert [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\SkinFramework/XTPSkinManagerApiHook.h(94): error C2504: 'CXTPSynchronized': Basisklasse undefiniert [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] m:\f_migration-vs2013\libs\codejocksoftware\mfc\xtremetoolkitpro\source\SkinFramework/XTPSkinManagerApiHook.h(137): error C2504: 'CXTPSynchronized': Basisklasse undefiniert [M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj] Including SyntaxEdit (Use _XTP_EXCLUDE_SYNTAXEDIT to exclude from build) Including TaskPanel (Use _XTP_EXCLUDE_TASKPANEL to exclude from build) -------------------------------------------------------------------------------- Automatically linking with ToolkitPro1720vc120.dll Done Building Project "M:\f_migration-vs2013\sqstest_plato\PlatoClient\Proxies\src\Proxies.vcxproj" (Build target(s)) -- FAILED. Build FAILED. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |