Compile errors after upgrading to 16.4.0 |
Post Reply |
Author | |
Enclaved Shadow
Groupie Joined: 22 August 2006 Location: Canada Status: Offline Points: 31 |
Post Options
Thanks(0)
Posted: 19 December 2014 at 9:57am |
We recently upgraded from Xtreme ToolkitPro v15.0.2 to Xtreme ToolkitPro v16.4.0. After making the change we are now seeing lots of compiler errors ... we can no longer compile some of our projects. I have provided a list of errors below. These errors are causing me to re-evaluate upgrading to the latest version just for the new themes.
12>c:\tfs\analytics\dev\jsis-ui\idea\idea\activex\history\reportcontrol.cpp(85): error C2065: 'm_pRecords' : undeclared identifier 12>c:\tfs\analytics\dev\jsis-ui\idea\idea\activex\history\reportcontrol.cpp(86): error C3861: 'SortRows': identifier not found 12>c:\tfs\analytics\dev\jsis-ui\idea\idea\activex\history\reportcontrol.cpp(155): error C2661: 'CXTPReportRow::InitRow' : no overloaded function takes 2 arguments 12>c:\tfs\analytics\dev\jsis-ui\idea\idea\activex\history\historyrow.cpp(182): error C2664: 'CXTPReportPaintManager::DrawGrid' : cannot convert parameter 2 from 'int' to 'XTPReportOrientation' 12> Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast) 12>c:\tfs\analytics\dev\jsis-ui\idea\idea\activex\history\historyrow.cpp(233): error C2664: 'CXTPReportPaintManager::DrawGrid' : cannot convert parameter 2 from 'int' to 'XTPReportOrientation' 12> Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast) 12>c:\tfs\analytics\dev\jsis-ui\idea\idea\activex\history\historygrouprow.cpp(34): error C2661: 'CXTPReportRow::InitRow' : no overloaded function takes 2 arguments 12>c:\tfs\analytics\dev\jsis-ui\idea\idea\common\reportwindow.cpp(762): error C2664: 'CXTPReportPaintManager::DrawGrid' : cannot convert parameter 2 from 'int' to 'XTPReportOrientation' 12> Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast) 12>c:\tfs\analytics\dev\jsis-ui\idea\idea\common\reportwindow.cpp(787): error C2664: 'CXTPReportPaintManager::DrawGrid' : cannot convert parameter 2 from 'int' to 'XTPReportOrientation' 12> Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast) 11>CommentsNewRow.cpp(127): error C2664: 'CXTPReportPaintManager::DrawGrid' : cannot convert parameter 2 from 'int' to 'XTPReportOrientation' 11> Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast) 11>CommentsNewRow.cpp(171): error C2664: 'CXTPReportPaintManager::DrawGrid' : cannot convert parameter 2 from 'int' to 'XTPReportOrientation' 11> Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast) 11> CommentsReport.cpp errors due to changes made in CXTPReportControl 11>CommentsReport.cpp(269): error C2065: 'm_pRecords' : undeclared identifier 11>CommentsReport.cpp(270): error C3861: 'SortRows': identifier not found 11>CommentsReport.cpp(285): error C2065: 'm_pPlainTree' : undeclared identifier 11>CommentsReport.cpp(344): error C2661: 'CXTPReportRow::InitRow' : no overloaded function takes 2 arguments 11>CommentsReport.cpp(373): error C3861: '_RefreshIndexes': identifier not found 11>CommentsReport.cpp(455): error C2661: 'CXTPReportRow::InitRow' : no overloaded function takes 2 arguments 11>CommentsRow.cpp(115): error C2664: 'CXTPReportPaintManager::DrawGrid' : cannot convert parameter 2 from 'int' to 'XTPReportOrientation' 11> Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast) 11>CommentsRow.cpp(163): error C2664: 'CXTPReportPaintManager::DrawGrid' : cannot convert parameter 2 from 'int' to 'XTPReportOrientation' 11> Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast) 11>..\..\Common\ReportWindow.cpp(762): error C2664: 'CXTPReportPaintManager::DrawGrid' : cannot convert parameter 2 from 'int' to 'XTPReportOrientation' 11> Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast) 11>..\..\Common\ReportWindow.cpp(787): error C2664: 'CXTPReportPaintManager::DrawGrid' : cannot convert parameter 2 from 'int' to 'XTPReportOrientation' 11> Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast) |
|
mcmastl
Admin Group Joined: 14 April 2015 Status: Offline Points: 79 |
Post Options
Thanks(0)
|
We have informed our development team of the issue and will be looking into it. Thank you for bringing this to our attention. If the issue has been resolved please let us know. Thank you.
|
|
Luke McMasters, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Fredrik
Senior Member Joined: 22 June 2005 Status: Offline Points: 235 |
Post Options
Thanks(0)
|
It might be easier to get your answers through checking the source code and your errors. For instance
so... as the error message says, use an static_cast or C-style case for your int. Or better - use the corresponding value in the enum XTPReportOrientation. I wouldn't be surprised that m_pRecords now is accessed by a function GetRecords()...? But of course, it would be good if breaking changes were mentioned in the release notes... |
|
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
|
|
kstowell
Admin Group Joined: 25 January 2003 Location: MIchigan, USA Status: Offline Points: 496 |
Post Options
Thanks(0)
|
Thanks for the further feedback, have you checked the supplied samples in 16.4 and compared the implementation to yours?
That's where I would recommend you start to make sure you are not missing something there. Also, if you can to copy / paste your code, or provide a small sample that recreates the problem we can try to help further. It almost appears to be a missing #include file at first glance, but without actually seeing how you have implemented your code it is impossible know what the problem might be.
|
|
Kirk Stowell, President and CEO
CODEJOCK SOFTWARE SOLUTIONS< |
|
mcmastl
Admin Group Joined: 14 April 2015 Status: Offline Points: 79 |
Post Options
Thanks(0)
|
We built 15.0.0.2 against 16.4.0 and was unable to recreate the issue, if you could copy/paste your code, or provide a small sample to recreate the problem we can try to help debug the issue. Thanks.
|
|
Luke McMasters, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |