Printable Version of Topic

Click here to view this topic in its original format

RCBot Forums _ RCbot2 _ C++ Compiling Warnings

Posted by: RoboCop May 21 2019, 08:06 PM

I've recently been using JetBrains' ReSharper C++ but it isn't perfected for helping on how to enhance Metamod Addons nor Bots yets. I've noticed after the inspection scan they found some potential C++ compiling issues that could lead to RCBot2's instability and server crashes.

I've already applied most of the promising fixes from my RCBot2 Github but wasn't sure on the issues that I cannae understand much.

[attachmentid=615]

Before you say anything, yes I'm using the VS2013 compiler as the newer VS compilers fail on RCBot2. But it appears that ReSharper detected some errors that may need to be resolved: like the bot_config.h 'CConfigFile' not been located and other issues found. Sadly I don't have time as I'm on a evaluated version of ReSharper, which will expire in 12 days - unless I pay around £8 per month.

Any suggestions or ideas behind those issues found in this screenshot?

Posted by: Cheeseh May 22 2019, 11:21 AM

QUOTE(RoboCop @ May 21 2019, 09:06 PM) *

I've recently been using JetBrains' ReSharper C++ but it isn't perfected for helping on how to enhance Metamod Addons nor Bots yets. I've noticed after the inspection scan they found some potential C++ compiling issues that could lead to RCBot2's instability and server crashes.

I've already applied most of the promising fixes from my RCBot2 Github but wasn't sure on the issues that I cannae understand much.

[attachmentid=615]

Before you say anything, yes I'm using the VS2013 compiler as the newer VS compilers fail on RCBot2. But it appears that ReSharper detected some errors that may need to be resolved: like the bot_config.h 'CConfigFile' not been located and other issues found. Sadly I don't have time as I'm on a evaluated version of ReSharper, which will expire in 12 days - unless I pay around £8 per month.

Any suggestions or ideas behind those issues found in this screenshot?


I don't think CConfigFile or CRCbotConfig was ever used and was a concept that never got used in the bot. so it can probably safly be deleted