Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - compiler warning errors in XTToolkitPro.h
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

compiler warning errors in XTToolkitPro.h

 Post Reply Post Reply
Author
Message
adrien View Drop Down
Senior Member
Senior Member


Joined: 30 April 2007
Location: New Zealand
Status: Offline
Points: 449
Post Options Post Options   Thanks (0) Thanks(0)   Quote adrien Quote  Post ReplyReply Direct Link To This Post Topic: compiler warning errors in XTToolkitPro.h
    Posted: 06 December 2016 at 7:46pm
Hi Guys

Version 17.2, haven't checked if it's the same in 17.3 but my later comment probably applies still

In XTToolkitPro.h, there are changes made to compiler warnings before the warning state is pushed.  So this means that after inclusion of this header, the state of the warning for name decoration length is changed.

Need to do the push before the change.

I would also strongly recommend enabling warning 4265 and checking all your virtual destructors.  We recently found some memory leak problems around this, and by default 4265 is disabled, but it is very useful.  We went through our code with this warning back on, but CodeJock woudln't build.

Since there are many cases where we derive from CJ classes, where (not sure) maybe the objects are destroyed via a base class pointer, virtual destructors are required to avoid leaks.

Cheers

Adrien
Back to Top
astoyan View Drop Down
Admin Group
Admin Group
Avatar

Joined: 24 August 2013
Status: Offline
Points: 304
Post Options Post Options   Thanks (0) Thanks(0)   Quote astoyan Quote  Post ReplyReply Direct Link To This Post Posted: 12 December 2016 at 7:49pm
Thanks for bringing this to our attention. The issue has been added to the bug database and hopefully will be addressed for 18.0.

Regards,
  Alexander
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.