Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Upgraded to 18.3, and code doesn't compile anymore
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Upgraded to 18.3, and code doesn't compile anymore

 Post Reply Post Reply
Author
Message
jimzshi View Drop Down
Newbie
Newbie


Joined: 13 February 2018
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimzshi Quote  Post ReplyReply Direct Link To This Post Topic: Upgraded to 18.3, and code doesn't compile anymore
    Posted: 13 February 2018 at 5:28pm
After upgrading to 18.3, the code doesn't compile anymore. VC 2017 15.5.6 complaints:

8>\workspace\packages\codejock\Common/Base/Diagnostic/XTPEnableAdvancedWarnings.h(125): error C2220: warning treated as error - no 'object' file generated (compiling source file FileWizard9_CrossTable.cpp)
8>\workspace\packages\codejock\Common/Base/Diagnostic/XTPEnableAdvancedWarnings.h(125): warning C4005: 'XTP_WARNING_CONTROL_ACTION': macro redefinition (compiling source file FileWizard9_CrossTable.cpp)
8>\workspace\packages\codejock\Common/Base/Diagnostic/XTPEnableAdvancedWarnings.h(121): note: see previous definition of 'XTP_WARNING_CONTROL_ACTION' (compiling source file FileWizard9_CrossTable.cpp)
8>\workspace\packages\codejock\Common/Base/Diagnostic/XTPEnableAdvancedWarnings.h(121): warning C4005: 'XTP_WARNING_CONTROL_ACTION': macro redefinition (compiling source file FileWizard9_CrossTable.cpp)
8>\workspace\packages\codejock\Common/Base/Diagnostic/XTPEnableAdvancedWarnings.h(125): note: see previous definition of 'XTP_WARNING_CONTROL_ACTION' (compiling source file FileWizard9_CrossTable.cpp)
8>\workspace\packages\codejock\Common/Base/Diagnostic/XTPEnableAdvancedWarnings.h(160): fatal error C1189: #error:  XTP_DISABLE_ADVANCED_WARNINGS must not be defined twice. The state of advanced warnings must be restored. (compiling source file FileWizard9_CrossTable.cpp)

while previously using 18.0.1 had no problem. The app source only "#include <XTCommandBarsPro.h>" please advise where the problem is. 

btw, can't find a link to download previous version in "My Account"->"Product Download" section. How can i downgrade to 18.0.1?










//-----------VS 2017 Info ---------------
Microsoft Visual Studio Professional 2017 
Version 15.5.6
VisualStudio.15.Release/15.5.6+27130.2027
Microsoft .NET Framework
Version 4.7.02556

Installed Version: Professional

Visual Basic 2017   00369-60000-00001-AA042
Microsoft Visual Basic 2017

Visual C# 2017   00369-60000-00001-AA042
Microsoft Visual C# 2017

Visual C++ 2017   00369-60000-00001-AA042
Microsoft Visual C++ 2017

ASP.NET and Web Tools 2017   15.0.31127.0
ASP.NET and Web Tools 2017

ASP.NET Core Razor Language Services   1.0
Provides languages services for ASP.NET Core Razor.

Azure App Service Tools v3.0.0   15.0.31106.0
Azure App Service Tools v3.0.0

Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Cookiecutter   3.0.17320.1
Provides tools for finding, instantiating and customizing templates in cookiecutter format.

JavaScript Language Service   2.0
JavaScript Language Service

Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.51120.3

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual C++ Wizards   1.0
Microsoft Visual C++ Wizards

Microsoft Visual Studio VC Package   1.0
Microsoft Visual Studio VC Package

NuGet Package Manager   4.5.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

Python   3.0.17320.1
Provides IntelliSense, projects, templates, debugging, interactive windows, and other support for Python developers.

Python - Django support   3.0.17320.1
Provides templates and integration for the Django web framework.

Python - IronPython support   3.0.17320.1
Provides templates and integration for IronPython-based projects.

Python - Profiling support   3.0.17320.1
Profiling support for Python projects.

TypeScript Tools   15.5.11025.1
TypeScript Tools for Microsoft Visual Studio

Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

Visual Studio Tools for CMake   1.0
Visual Studio Tools for CMake
//
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.