Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bots

Development::Bots Forum for bots.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-16-2015, 08:56 AM
Yummy
Sarnak
 
Join Date: Feb 2014
Posts: 71
Default Git pull 7/16 and bot.cpp warnings

Just completed a recompile after a git pull and was wondering if the warnings given below can be safely ignored or an indication of a problem.

Code:
[ 52%] Building CXX object zone/CMakeFiles/zone.dir/bot.cpp.o
/home/eqadmin/eqemu/source/Server/zone/bot.cpp: In member function ‘virtual int32 Bot::CalcBotAAFocus(Bot::BotfocusType, uint32, uint32, uint16)’:
/home/eqadmin/eqemu/source/Server/zone/bot.cpp:5058:17: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
     if (type == focusImprovedDamage && base1 > value)

The complete list of warnings are given below. The 'Line #:' is the line number from my text doc not bot.cpp.
Code:
	Line 3: /home/eqadmin/eqemu/source/Server/zone/bot.cpp:5058:17: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
	Line 9: /home/eqadmin/eqemu/source/Server/zone/bot.cpp:5066:17: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
	Line 12: /home/eqadmin/eqemu/source/Server/zone/bot.cpp:5070:17: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
	Line 15: /home/eqadmin/eqemu/source/Server/zone/bot.cpp:5074:17: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
	Line 18: /home/eqadmin/eqemu/source/Server/zone/bot.cpp:5078:17: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
	Line 21: /home/eqadmin/eqemu/source/Server/zone/bot.cpp:5082:17: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
	Line 24: /home/eqadmin/eqemu/source/Server/zone/bot.cpp:5086:17: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
	Line 27: /home/eqadmin/eqemu/source/Server/zone/bot.cpp:5090:17: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
	Line 30: /home/eqadmin/eqemu/source/Server/zone/bot.cpp:5094:17: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
	Line 33: /home/eqadmin/eqemu/source/Server/zone/bot.cpp:5098:17: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
	Line 36: /home/eqadmin/eqemu/source/Server/zone/bot.cpp:5102:17: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
	Line 39: /home/eqadmin/eqemu/source/Server/zone/bot.cpp:5118:16: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
	Line 42: /home/eqadmin/eqemu/source/Server/zone/bot.cpp:5123:16: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
	Line 45: /home/eqadmin/eqemu/source/Server/zone/bot.cpp:5134:16: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
	Line 48: /home/eqadmin/eqemu/source/Server/zone/bot.cpp:5139:16: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
	Line 51: /home/eqadmin/eqemu/source/Server/zone/bot.cpp:5146:16: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
	Line 54: /home/eqadmin/eqemu/source/Server/zone/bot.cpp:5169:16: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
	Line 57: /home/eqadmin/eqemu/source/Server/zone/bot.cpp:5174:16: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
	Line 60: /home/eqadmin/eqemu/source/Server/zone/bot.cpp:5179:16: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
	Line 63: /home/eqadmin/eqemu/source/Server/zone/bot.cpp:5184:16: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
	Line 66: /home/eqadmin/eqemu/source/Server/zone/bot.cpp:5188:17: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
	Line 69: /home/eqadmin/eqemu/source/Server/zone/bot.cpp:5192:16: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
	Line 72: /home/eqadmin/eqemu/source/Server/zone/bot.cpp:5196:16: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
	Line 75: /home/eqadmin/eqemu/source/Server/zone/bot.cpp:5200:16: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
	Line 78: /home/eqadmin/eqemu/source/Server/zone/bot.cpp:5204:17: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
	Line 81: /home/eqadmin/eqemu/source/Server/zone/bot.cpp:5209:16: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
	Line 84: /home/eqadmin/eqemu/source/Server/zone/bot.cpp:5214:16: warning: comparison between ‘enum Bot::BotfocusType’ and ‘enum focusType’ [-Wenum-compare]
Thank you!
Reply With Quote
  #2  
Old 07-16-2015, 09:38 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,497
Default

Ignore warnings.
Reply With Quote
  #3  
Old 07-16-2015, 11:21 AM
Yummy
Sarnak
 
Join Date: Feb 2014
Posts: 71
Default

Quote:
Originally Posted by joligario View Post
Ignore warnings.
Thank you!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 03:20 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3