compiler warning errors in XTToolkitPro.h |
Post Reply |
Author | |
adrien
Senior Member Joined: 30 April 2007 Location: New Zealand Status: Offline Points: 449 |
Post Options
Thanks(0)
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 |
|
astoyan
Admin Group Joined: 24 August 2013 Status: Offline Points: 304 |
Post Options
Thanks(0)
|
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
|
|
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 |