IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> C++ Compiling Warnings
RoboCop
post May 21 2019, 08:06 PM
Post #1


RCBot Fan
****

Group: Moderator
Posts: 120
Joined: 17-December 15
From: Dundee, Scotland
Member No.: 2,435



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.

Attached Image

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?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post May 22 2019, 11:21 AM
Post #2


Admin
*****

Group: Admin
Posts: 3,011
Joined: 11-September 03
From: uk
Member No.: 1



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.

Attached Image

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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 25th June 2019 - 08:21 AM