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!