Open Glitch31415 opened 5 days ago
removing -Wfatal-errors
from the flags in cmake should get you further. I'll try to get an HL co-op build working this week.
where do I remove that? I looked in the both the build.sh files but when cmake is called it doesn't have that flag
└─$ cat mmlib/build.sh
#!/bin/sh
mkdir build; cd build
cmake .. -DCMAKE_BUILD_TYPE=RELEASE
make
[ 16%] Building CXX object CMakeFiles/rcbot.dir/src/bot_menu.cpp.o
/home/glitch/rcbot/src/bot_menu.cpp:47:93: error: pasting ""\\y"" and ""Jump"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^~~~~
/home/glitch/rcbot/src/bot_menu.cpp:198:74: note: in expansion of macro ‘ICOLOR’
198 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS].AddMenuItem(1, ICOLOR("Jump", W_FL_JUMP),BotMenu_Func_Jump_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:113: error: pasting ":" and ""Jump"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^
/home/glitch/rcbot/src/bot_menu.cpp:198:74: note: in expansion of macro ‘ICOLOR’
198 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS].AddMenuItem(1, ICOLOR("Jump", W_FL_JUMP),BotMenu_Func_Jump_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:93: error: pasting ""\\y"" and ""Crouch-Jump"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^~~~~
/home/glitch/rcbot/src/bot_menu.cpp:199:74: note: in expansion of macro ‘ICOLOR’
199 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS].AddMenuItem(2, ICOLOR("Crouch-Jump", W_FL_CROUCHJUMP),BotMenu_Func_CrouchJump_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:113: error: pasting ":" and ""Crouch-Jump"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^
/home/glitch/rcbot/src/bot_menu.cpp:199:74: note: in expansion of macro ‘ICOLOR’
199 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS].AddMenuItem(2, ICOLOR("Crouch-Jump", W_FL_CROUCHJUMP),BotMenu_Func_CrouchJump_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:93: error: pasting ""\\y"" and ""Crouch"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^~~~~
/home/glitch/rcbot/src/bot_menu.cpp:200:74: note: in expansion of macro ‘ICOLOR’
200 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS].AddMenuItem(3, ICOLOR("Crouch", W_FL_CROUCH),BotMenu_Func_Crouch_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:113: error: pasting ":" and ""Crouch"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^
/home/glitch/rcbot/src/bot_menu.cpp:200:74: note: in expansion of macro ‘ICOLOR’
200 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS].AddMenuItem(3, ICOLOR("Crouch", W_FL_CROUCH),BotMenu_Func_Crouch_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:93: error: pasting ""\\y"" and ""Ladder"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^~~~~
/home/glitch/rcbot/src/bot_menu.cpp:201:74: note: in expansion of macro ‘ICOLOR’
201 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS].AddMenuItem(4, ICOLOR("Ladder", W_FL_LADDER), BotMenu_Func_Ladder_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:113: error: pasting ":" and ""Ladder"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^
/home/glitch/rcbot/src/bot_menu.cpp:201:74: note: in expansion of macro ‘ICOLOR’
201 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS].AddMenuItem(4, ICOLOR("Ladder", W_FL_LADDER), BotMenu_Func_Ladder_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:93: error: pasting ""\\y"" and ""Stay Close To"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^~~~~
/home/glitch/rcbot/src/bot_menu.cpp:202:74: note: in expansion of macro ‘ICOLOR’
202 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS].AddMenuItem(5, ICOLOR("Stay Close To", W_FL_STAY_NEAR), BotMenu_Func_StayClose_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:113: error: pasting ":" and ""Stay Close To"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^
/home/glitch/rcbot/src/bot_menu.cpp:202:74: note: in expansion of macro ‘ICOLOR’
202 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS].AddMenuItem(5, ICOLOR("Stay Close To", W_FL_STAY_NEAR), BotMenu_Func_StayClose_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:93: error: pasting ""\\y"" and ""Teleport"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^~~~~
/home/glitch/rcbot/src/bot_menu.cpp:203:74: note: in expansion of macro ‘ICOLOR’
203 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS].AddMenuItem(6, ICOLOR("Teleport", W_FL_TELEPORT), BotMenu_Func_Teleport_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:113: error: pasting ":" and ""Teleport"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^
/home/glitch/rcbot/src/bot_menu.cpp:203:74: note: in expansion of macro ‘ICOLOR’
203 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS].AddMenuItem(6, ICOLOR("Teleport", W_FL_TELEPORT), BotMenu_Func_Teleport_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:93: error: pasting ""\\y"" and ""Fly/Grapple\n\n"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^~~~~
/home/glitch/rcbot/src/bot_menu.cpp:204:74: note: in expansion of macro ‘ICOLOR’
204 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS].AddMenuItem(7, ICOLOR("Fly/Grapple\n\n", W_FL_FLY), BotMenu_Func_Fly_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:113: error: pasting ":" and ""Fly/Grapple\n\n"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^
/home/glitch/rcbot/src/bot_menu.cpp:204:74: note: in expansion of macro ‘ICOLOR’
204 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS].AddMenuItem(7, ICOLOR("Fly/Grapple\n\n", W_FL_FLY), BotMenu_Func_Fly_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:93: error: pasting ""\\y"" and ""End Of Level/Objective"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^~~~~
/home/glitch/rcbot/src/bot_menu.cpp:217:83: note: in expansion of macro ‘ICOLOR’
217 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS2].AddMenuItem(1, ICOLOR("End Of Level/Objective", W_FL_ENDLEVEL), BotMenu_Func_EndLevel_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:113: error: pasting ":" and ""End Of Level/Objective"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^
/home/glitch/rcbot/src/bot_menu.cpp:217:83: note: in expansion of macro ‘ICOLOR’
217 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS2].AddMenuItem(1, ICOLOR("End Of Level/Objective", W_FL_ENDLEVEL), BotMenu_Func_EndLevel_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:93: error: pasting ""\\y"" and ""Opens Later"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^~~~~
/home/glitch/rcbot/src/bot_menu.cpp:219:75: note: in expansion of macro ‘ICOLOR’
219 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS2].AddMenuItem(2, ICOLOR("Opens Later", W_FL_OPENS_LATER), BotMenu_Func_OpensLater_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:113: error: pasting ":" and ""Opens Later"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^
/home/glitch/rcbot/src/bot_menu.cpp:219:75: note: in expansion of macro ‘ICOLOR’
219 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS2].AddMenuItem(2, ICOLOR("Opens Later", W_FL_OPENS_LATER), BotMenu_Func_OpensLater_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:93: error: pasting ""\\y"" and ""Pain/Death"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^~~~~
/home/glitch/rcbot/src/bot_menu.cpp:224:83: note: in expansion of macro ‘ICOLOR’
224 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS2].AddMenuItem(3, ICOLOR("Pain/Death", W_FL_PAIN), BotMenu_Func_Wall_Stick_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:113: error: pasting ":" and ""Pain/Death"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^
/home/glitch/rcbot/src/bot_menu.cpp:224:83: note: in expansion of macro ‘ICOLOR’
224 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS2].AddMenuItem(3, ICOLOR("Pain/Death", W_FL_PAIN), BotMenu_Func_Wall_Stick_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:93: error: pasting ""\\y"" and ""Wait For Lift"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^~~~~
/home/glitch/rcbot/src/bot_menu.cpp:228:75: note: in expansion of macro ‘ICOLOR’
228 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS2].AddMenuItem(4, ICOLOR("Wait For Lift", W_FL_WAIT_FOR_LIFT),BotMenu_Func_WaitLift_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:113: error: pasting ":" and ""Wait For Lift"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^
/home/glitch/rcbot/src/bot_menu.cpp:228:75: note: in expansion of macro ‘ICOLOR’
228 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS2].AddMenuItem(4, ICOLOR("Wait For Lift", W_FL_WAIT_FOR_LIFT),BotMenu_Func_WaitLift_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:93: error: pasting ""\\y"" and ""Check for lift"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^~~~~
/home/glitch/rcbot/src/bot_menu.cpp:229:75: note: in expansion of macro ‘ICOLOR’
229 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS2].AddMenuItem(5, ICOLOR("Check for lift", W_FL_CHECK_LIFT), BotMenu_CheckForLift_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:113: error: pasting ":" and ""Check for lift"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^
/home/glitch/rcbot/src/bot_menu.cpp:229:75: note: in expansion of macro ‘ICOLOR’
229 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS2].AddMenuItem(5, ICOLOR("Check for lift", W_FL_CHECK_LIFT), BotMenu_CheckForLift_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:93: error: pasting ""\\y"" and ""Lift Button"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^~~~~
/home/glitch/rcbot/src/bot_menu.cpp:230:75: note: in expansion of macro ‘ICOLOR’
230 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS2].AddMenuItem(6, ICOLOR("Lift Button", W_FL_LIFT), BotMenu_Func_Lift_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:113: error: pasting ":" and ""Lift Button"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^
/home/glitch/rcbot/src/bot_menu.cpp:230:75: note: in expansion of macro ‘ICOLOR’
230 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS2].AddMenuItem(6, ICOLOR("Lift Button", W_FL_LIFT), BotMenu_Func_Lift_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:93: error: pasting ""\\y"" and ""Human Tower\n"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^~~~~
/home/glitch/rcbot/src/bot_menu.cpp:231:75: note: in expansion of macro ‘ICOLOR’
231 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS2].AddMenuItem(7, ICOLOR("Human Tower\n", W_FL_HUMAN_TOWER), BotMenu_Func_HumanTower_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:113: error: pasting ":" and ""Human Tower\n"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^
/home/glitch/rcbot/src/bot_menu.cpp:231:75: note: in expansion of macro ‘ICOLOR’
231 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS2].AddMenuItem(7, ICOLOR("Human Tower\n", W_FL_HUMAN_TOWER), BotMenu_Func_HumanTower_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:93: error: pasting ""\\y"" and ""Tank"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^~~~~
/home/glitch/rcbot/src/bot_menu.cpp:241:75: note: in expansion of macro ‘ICOLOR’
241 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS3].AddMenuItem(1, ICOLOR("Tank", W_FL_TANK), BotMenu_Func_Tank_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:113: error: pasting ":" and ""Tank"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^
/home/glitch/rcbot/src/bot_menu.cpp:241:75: note: in expansion of macro ‘ICOLOR’
241 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS3].AddMenuItem(1, ICOLOR("Tank", W_FL_TANK), BotMenu_Func_Tank_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:93: error: pasting ""\\y"" and ""Throw Grenade"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^~~~~
/home/glitch/rcbot/src/bot_menu.cpp:254:91: note: in expansion of macro ‘ICOLOR’
254 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS3].AddMenuItem(2, ICOLOR("Throw Grenade", W_FL_GREN_THROW), Bot_Menu_GrenThrow_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:113: error: pasting ":" and ""Throw Grenade"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^
/home/glitch/rcbot/src/bot_menu.cpp:254:91: note: in expansion of macro ‘ICOLOR’
254 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS3].AddMenuItem(2, ICOLOR("Throw Grenade", W_FL_GREN_THROW), Bot_Menu_GrenThrow_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:93: error: pasting ""\\y"" and ""Pushable Point"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^~~~~
/home/glitch/rcbot/src/bot_menu.cpp:258:83: note: in expansion of macro ‘ICOLOR’
258 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS3].AddMenuItem(3, ICOLOR("Pushable Point", W_FL_PUSHABLE), BotMenu_Func_Pushable_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:113: error: pasting ":" and ""Pushable Point"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^
/home/glitch/rcbot/src/bot_menu.cpp:258:83: note: in expansion of macro ‘ICOLOR’
258 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS3].AddMenuItem(3, ICOLOR("Pushable Point", W_FL_PUSHABLE), BotMenu_Func_Pushable_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:93: error: pasting ""\\y"" and ""Scientist Point"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^~~~~
/home/glitch/rcbot/src/bot_menu.cpp:259:83: note: in expansion of macro ‘ICOLOR’
259 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS3].AddMenuItem(4, ICOLOR("Scientist Point", W_FL_SCIENTIST_POINT), BotMenu_Func_Sci_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:113: error: pasting ":" and ""Scientist Point"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^
/home/glitch/rcbot/src/bot_menu.cpp:259:83: note: in expansion of macro ‘ICOLOR’
259 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS3].AddMenuItem(4, ICOLOR("Scientist Point", W_FL_SCIENTIST_POINT), BotMenu_Func_Sci_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:93: error: pasting ""\\y"" and ""Barney Point"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^~~~~
/home/glitch/rcbot/src/bot_menu.cpp:265:83: note: in expansion of macro ‘ICOLOR’
265 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS3].AddMenuItem(5, ICOLOR("Barney Point", W_FL_BARNEY_POINT), BotMenu_Func_Barney_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:113: error: pasting ":" and ""Barney Point"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^
/home/glitch/rcbot/src/bot_menu.cpp:265:83: note: in expansion of macro ‘ICOLOR’
265 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS3].AddMenuItem(5, ICOLOR("Barney Point", W_FL_BARNEY_POINT), BotMenu_Func_Barney_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:93: error: pasting ""\\y"" and ""Un-Reachable\n\n"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^~~~~
/home/glitch/rcbot/src/bot_menu.cpp:277:75: note: in expansion of macro ‘ICOLOR’
277 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS3].AddMenuItem(7, ICOLOR("Un-Reachable\n\n", W_FL_UNREACHABLE), BotMenu_Func_Unreachable_Waypoint);
| ^~~~~~
/home/glitch/rcbot/src/bot_menu.cpp:47:113: error: pasting ":" and ""Un-Reachable\n\n"" does not give a valid preprocessing token
47 | #define ICOLOR(name, flag) ((waypointIdx != -1 && (waypoints[waypointIdx].flags & flag)) ? ("\\y" ##name "\\w") : ##name)
| ^
/home/glitch/rcbot/src/bot_menu.cpp:277:75: note: in expansion of macro ‘ICOLOR’
277 | gBotGlobals.m_Menus[BOT_MENU_WAYPOINT_GIVE_FLAGS3].AddMenuItem(7, ICOLOR("Un-Reachable\n\n", W_FL_UNREACHABLE), BotMenu_Func_Unreachable_Waypoint);
| ^~~~~~
make[2]: *** [CMakeFiles/rcbot.dir/build.make:174: CMakeFiles/rcbot.dir/src/bot_menu.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/rcbot.dir/all] Error 2
make: *** [Makefile:91: all] Error 2