Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - new warning with VS2022 17.2.0
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

new warning with VS2022 17.2.0

 Post Reply Post Reply
alindeman View Drop Down

Joined: 13 May 2022
Status: Offline
Points: 7
Post Options Post Options   Thanks (1) Thanks(1)   Quote alindeman Quote  Post ReplyReply Direct Link To This Post Topic: new warning with VS2022 17.2.0
    Posted: 13 May 2022 at 8:27am
Just updated from VS2022 17.1.6 to 17.2.0.  Did not have this issue with 17.1.6

Have "Treat Warnings as Errors" set to True and "Warning Level" of 4.

Now getting:

XTToolkit\CommandBars\XTPPaintManager.h(160,1): warning C5257: 'XTPPrimitiveSymbol': enumeration was previously declared without a fixed underlying type

Warning is so new, at least as of the time I am writing this post, C5254 is the maximum warning number according to Microsoft:

I assume in XPTDrawHelpers.h, I need to change

enum XTPPrimitiveSymbol

enum XTPPrimitiveSymbol: int

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.125 seconds.