CJ fails with VS 16.8 |
Post Reply |
Author | |
alistair.m
Groupie Joined: 14 January 2008 Location: United Kingdom Status: Offline Points: 12 |
Post Options
Thanks(0)
Posted: 13 November 2020 at 7:13am |
With our application compiled with VS 16.8 and C++20 enabled (/std:c++latest) the included CJ #includes fail to compile. Some of the errors can be fixed by more forward declarations and some my qualifying members by classname, but I gave up when I ran into a circular dependency. Can someone look into this? |
|
Product: Xtreme ToolkitPro (MFC) version 18.6
Platform: Windows 10 (64 bit) Language: Visual Studio 2019 |
|
alistair.m
Groupie Joined: 14 January 2008 Location: United Kingdom Status: Offline Points: 12 |
Post Options
Thanks(0)
|
BTW this was tested with CJ 19.3.0.
|
|
Product: Xtreme ToolkitPro (MFC) version 18.6
Platform: Windows 10 (64 bit) Language: Visual Studio 2019 |
|
alistair.m
Groupie Joined: 14 January 2008 Location: United Kingdom Status: Offline Points: 12 |
Post Options
Thanks(0)
|
I have now managed to fix the CJ headers so that is all compiles OK.
|
|
Product: Xtreme ToolkitPro (MFC) version 18.6
Platform: Windows 10 (64 bit) Language: Visual Studio 2019 |
|
alistair.m
Groupie Joined: 14 January 2008 Location: United Kingdom Status: Offline Points: 12 |
Post Options
Thanks(0)
|
The files that needed updating were as follows: D:\CodeJock\fixes\Xtreme ToolkitPro v18.6.0\Source\Calendar\DatePicker\XTPDatePickerControl.h D:\CodeJock\fixes\Xtreme ToolkitPro v18.6.0\Source\CommandBars\Frame\XTPFrameHook.h D:\CodeJock\fixes\Xtreme ToolkitPro v18.6.0\Source\CommandBars\XTPCommandBar.h D:\CodeJock\fixes\Xtreme ToolkitPro v18.6.0\Source\CommandBars\XTPControl.h D:\CodeJock\fixes\Xtreme ToolkitPro v18.6.0\Source\CommandBars\XTPDialogBase.h D:\CodeJock\fixes\Xtreme ToolkitPro v18.6.0\Source\CommandBars\XTPFrameWnd.h D:\CodeJock\fixes\Xtreme ToolkitPro v18.6.0\Source\CommandBars\XTPPaintManager.h D:\CodeJock\fixes\Xtreme ToolkitPro v18.6.0\Source\CommandBars\XTPPaintManagerEvents.h D:\CodeJock\fixes\Xtreme ToolkitPro v18.6.0\Source\Common\Base\Types\XTPPoint2.h D:\CodeJock\fixes\Xtreme ToolkitPro v18.6.0\Source\Common\XTPCustomHeap.h D:\CodeJock\fixes\Xtreme ToolkitPro v18.6.0\Source\Common\XTPDrawHelpers.h D:\CodeJock\fixes\Xtreme ToolkitPro v18.6.0\Source\Common\XTPMaskEditT.h D:\CodeJock\fixes\Xtreme ToolkitPro v18.6.0\Source\Common\XTPNotifyConnection.h D:\CodeJock\fixes\Xtreme ToolkitPro v18.6.0\Source\Common\XTPPropExchange.h D:\CodeJock\fixes\Xtreme ToolkitPro v18.6.0\Source\Common\XTPSmartPtrInternalT.h D:\CodeJock\fixes\Xtreme ToolkitPro v18.6.0\Source\Common\XTPSystemHelpers.h D:\CodeJock\fixes\Xtreme ToolkitPro v18.6.0\Source\Markup\XTPMarkupDelegate.h D:\CodeJock\fixes\Xtreme ToolkitPro v18.6.0\Source\ReportControl\XTPReportSection.h D:\CodeJock\fixes\Xtreme ToolkitPro v18.6.0\Source\SyntaxEdit\XTPSyntaxEditDrawTextProcessor.h I can supply a zip of changes (CJ 18.6.0) on request. Regards
|
|
Product: Xtreme ToolkitPro (MFC) version 18.6
Platform: Windows 10 (64 bit) Language: Visual Studio 2019 |
|
Love
Newbie Joined: 29 June 2009 Location: Sweden Status: Offline Points: 1 |
Post Options
Thanks(0)
|
Using the /permissive compiler flag enabled building the application with /std:c++latest for us. Note that this will prevent the use of C++20 Modules. Reference: https://devblogs.microsoft.com/cppblog/standard-c20-modules-support-with-msvc-in-visual-studio-2019-version-16-8/ Codejock reports that most of the standard compliance issues will be addressed in version 20 (due spring 2021) but that support for /std:c++latest is never guaranteed. |
|
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 |