Print Page | Close Window

VS2017 and 18.3: XTP_DISABLE_ADVANCED_WARNINGS

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=23586
Printed Date: 26 April 2024 at 11:31pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: VS2017 and 18.3: XTP_DISABLE_ADVANCED_WARNINGS
Posted By: renninha
Subject: VS2017 and 18.3: XTP_DISABLE_ADVANCED_WARNINGS
Date Posted: 23 February 2018 at 7:59am
When I try to compile my program in VS2017 and version 18.3 I get this error message:
Error C1189
#error:  XTP_DISABLE_ADVANCED_WARNINGS must not be defined twice. The state of advanced warnings must be restored.
c:\program files (x86)\codejock software\mfc\xtreme toolkitpro v18.3.0\source\common\base\diagnostic\xtpenableadvancedwarnings.h 160

I didn't get this when compiling with 18.3 in VS2013, but I'm new to VS2017 - maybe it's some parameter there to change...
Tried to compare to the ribbon sample, but I can't find any important differences.
Please help...

Thanks,




Replies:
Posted By: renninha
Date Posted: 23 February 2018 at 8:19am
Think I found it... my error...


Posted By: Sven
Date Posted: 06 March 2018 at 4:31am
I'm getting the same errors after changing the toolset from 2013 to 2017. What did you do?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net