source='CursesUI.cxx' object='CursesUI.o' libtool=no \ DEPDIR=.deps depmode=sgi /bin/sh ../../misc/depcomp \ CC -DHAVE_CONFIG_H -I. -I. -I../../include -DBUILDING_BZADMIN -I../../include -I../../src/bzflag -I/usr/local/include -O2 -OPT:Olimit=32768 -DEFAULT:abi=n32:isa=mips3:proc=r5k -LANG:std -FE:template_in_elf_section -ptused -prelink -c -o CursesUI.o CursesUI.cxx cc-3168 CC: ERROR File = CursesUI.cxx, Line = 21 A name followed by "::" must be a class or namespace name. UIAdder CursesUI::uiAdder("curses", &CursesUI::creator); ^ cc-1020 CC: ERROR File = CursesUI.cxx, Line = 21 The identifier "UIAdder" is undefined. UIAdder CursesUI::uiAdder("curses", &CursesUI::creator); ^ cc-1018 CC: ERROR File = CursesUI.cxx, Line = 21 An unmatched left parentheses "(" appears in an expression. UIAdder CursesUI::uiAdder("curses", &CursesUI::creator); ^ cc-3168 CC: ERROR File = CursesUI.cxx, Line = 24 A name followed by "::" must be a class or namespace name. CursesUI::CursesUI(BZAdminClient& c) : ^ cc-1077 CC: ERROR File = CursesUI.cxx, Line = 24 The indicated declaration has no storage class or type specifier. CursesUI::CursesUI(BZAdminClient& c) : ^ cc-1020 CC: ERROR File = CursesUI.cxx, Line = 24 The identifier "BZAdminClient" is undefined. CursesUI::CursesUI(BZAdminClient& c) : ^ cc-1020 CC: ERROR File = CursesUI.cxx, Line = 24 The identifier "c" is undefined. CursesUI::CursesUI(BZAdminClient& c) : ^ cc-1065 CC: ERROR File = CursesUI.cxx, Line = 24 A semicolon is expected at this point. CursesUI::CursesUI(BZAdminClient& c) : ^ cc-1012 CC: WARNING File = CursesUI.cxx, Line = 49 Parsing restarts here after previous syntax error. scrollok(mainWin, TRUE); ^ cc-1077 CC: ERROR File = CursesUI.cxx, Line = 50 The indicated declaration has no storage class or type specifier. wrefresh(mainWin); ^ cc-1020 CC: ERROR File = CursesUI.cxx, Line = 50 The identifier "mainWin" is undefined. wrefresh(mainWin); ^ cc-1077 CC: ERROR File = CursesUI.cxx, Line = 53 The indicated declaration has no storage class or type specifier. targetWin = newwin(1, 0, LINES - 2, 0); ^ cc-1020 CC: ERROR File = CursesUI.cxx, Line = 53 The identifier "LINES" is undefined. targetWin = newwin(1, 0, LINES - 2, 0); ^ cc-1020 CC: ERROR File = CursesUI.cxx, Line = 53 The identifier "newwin" is undefined. targetWin = newwin(1, 0, LINES - 2, 0); ^ cc-1077 CC: ERROR File = CursesUI.cxx, Line = 54 The indicated declaration has no storage class or type specifier. wattron(targetWin, A_UNDERLINE); ^ cc-1018 CC: ERROR File = CursesUI.cxx, Line = 54 An unmatched left parentheses "(" appears in an expression. wattron(targetWin, A_UNDERLINE); ^ cc-1077 CC: ERROR File = CursesUI.cxx, Line = 55 The indicated declaration has no storage class or type specifier. targetIter = players.begin(); ^ cc-1020 CC: ERROR File = CursesUI.cxx, Line = 55 The identifier "players" is undefined. targetIter = players.begin(); ^ cc-3322 CC: WARNING File = CursesUI.cxx, Line = 56 Omission of an explicit type is nonstandard ("int" is assumed). updateTargetWin(); ^ cc-1077 CC: ERROR File = CursesUI.cxx, Line = 59 The indicated declaration has no storage class or type specifier. cmdWin = newwin(0, 0, LINES - 1, 0); ^ cc-1077 CC: ERROR File = CursesUI.cxx, Line = 60 The indicated declaration has no storage class or type specifier. keypad(cmdWin, TRUE); ^ cc-1018 CC: ERROR File = CursesUI.cxx, Line = 60 An unmatched left parentheses "(" appears in an expression. keypad(cmdWin, TRUE); ^ cc-1077 CC: ERROR File = CursesUI.cxx, Line = 61 The indicated declaration has no storage class or type specifier. nodelay(cmdWin, TRUE); ^ cc-1018 CC: ERROR File = CursesUI.cxx, Line = 61 An unmatched left parentheses "(" appears in an expression. nodelay(cmdWin, TRUE); ^ cc-3322 CC: WARNING File = CursesUI.cxx, Line = 62 Omission of an explicit type is nonstandard ("int" is assumed). updateCmdWin(); ^ cc-1077 CC: ERROR File = CursesUI.cxx, Line = 65 The indicated declaration has no storage class or type specifier. menu.setUpdateCallback(initMainMenu); ^ cc-1065 CC: ERROR File = CursesUI.cxx, Line = 65 A semicolon is expected at this point. menu.setUpdateCallback(initMainMenu); ^ cc-1020 CC: ERROR File = CursesUI.cxx, Line = 68 The identifier "PlayerId" is undefined. additionalTargets[PlayerId(250 - ObserverTeam)] = PlayerInfo("teammates"); ^ cc-1059 CC: ERROR File = CursesUI.cxx, Line = 68 A function call is not allowed in a constant expression. additionalTargets[PlayerId(250 - ObserverTeam)] = PlayerInfo("teammates"); ^ cc-1020 CC: ERROR File = CursesUI.cxx, Line = 68 The identifier "ObserverTeam" is undefined. additionalTargets[PlayerId(250 - ObserverTeam)] = PlayerInfo("teammates"); ^ cc-1077 CC: ERROR File = CursesUI.cxx, Line = 68 The indicated declaration has no storage class or type specifier. additionalTargets[PlayerId(250 - ObserverTeam)] = PlayerInfo("teammates"); ^ cc-1020 CC: ERROR File = CursesUI.cxx, Line = 68 The identifier "PlayerInfo" is undefined. additionalTargets[PlayerId(250 - ObserverTeam)] = PlayerInfo("teammates"); ^ cc-1020 CC: ERROR File = CursesUI.cxx, Line = 69 The identifier "AdminPlayers" is undefined. additionalTargets[AdminPlayers] = PlayerInfo("admins"); ^ cc-1077 CC: ERROR File = CursesUI.cxx, Line = 69 The indicated declaration has no storage class or type specifier. additionalTargets[AdminPlayers] = PlayerInfo("admins"); ^ cc-1220 CC: ERROR File = CursesUI.cxx, Line = 69 The variable "additionalTargets" has already been defined. additionalTargets[AdminPlayers] = PlayerInfo("admins"); ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 70 Expected a declaration. } ^ cc-1012 CC: WARNING File = CursesUI.cxx, Line = 144 Parsing restarts here after previous syntax error. wclear(targetWin); ^ cc-3322 CC: WARNING File = CursesUI.cxx, Line = 145 Omission of an explicit type is nonstandard ("int" is assumed). updateCmdWin(); ^ cc-3322 CC: WARNING File = CursesUI.cxx, Line = 146 Omission of an explicit type is nonstandard ("int" is assumed). updateTargetWin(); ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 147 Expected a declaration. return false; ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 150 Expected a declaration. case '\n': // works with PDCurses ^ cc-1012 CC: WARNING File = CursesUI.cxx, Line = 153 Parsing restarts here after previous syntax error. history.erase(history.begin()); ^ cc-1077 CC: ERROR File = CursesUI.cxx, Line = 154 The indicated declaration has no storage class or type specifier. history.push_back(cmd); ^ cc-1065 CC: ERROR File = CursesUI.cxx, Line = 154 A semicolon is expected at this point. history.push_back(cmd); ^ cc-1077 CC: ERROR File = CursesUI.cxx, Line = 155 The indicated declaration has no storage class or type specifier. str = cmd; ^ cc-1020 CC: ERROR File = CursesUI.cxx, Line = 155 The identifier "cmd" is undefined. str = cmd; ^ cc-1077 CC: ERROR File = CursesUI.cxx, Line = 156 The indicated declaration has no storage class or type specifier. cmd = ""; ^ cc-1140 CC: ERROR File = CursesUI.cxx, Line = 156 A value of type "const char *" cannot be used to initialize an entity of type "int". cmd = ""; ^ cc-1077 CC: ERROR File = CursesUI.cxx, Line = 157 The indicated declaration has no storage class or type specifier. currentHistory = history.size(); ^ cc-1567 CC: ERROR File = CursesUI.cxx, Line = 157 Expression must have "class" type. currentHistory = history.size(); ^ cc-3322 CC: WARNING File = CursesUI.cxx, Line = 158 Omission of an explicit type is nonstandard ("int" is assumed). updateCmdWin(); ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 159 Expected a declaration. return true; ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 162 Expected a declaration. case KEY_NPAGE: ^ cc-1077 CC: ERROR File = CursesUI.cxx, Line = 165 The indicated declaration has no storage class or type specifier. updateMainWinFromBuffer(LINES - 2); ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 166 Expected a declaration. return false; ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 167 Expected a declaration. case KEY_PPAGE: ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 170 Expected a declaration. else if (scrollOffset > msgBuffer.size() - (LINES - 2) - (LINES - 2) / 2) ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 172 Expected a declaration. else ^ cc-1077 CC: ERROR File = CursesUI.cxx, Line = 174 The indicated declaration has no storage class or type specifier. updateMainWinFromBuffer(LINES - 2); ^ cc-1220 CC: ERROR File = CursesUI.cxx, Line = 174 The variable "updateMainWinFromBuffer" has already been defined. updateMainWinFromBuffer(LINES - 2); ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 175 Expected a declaration. return false; ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 180 Expected a declaration. case KEY_LEFT: ^ cc-1012 CC: WARNING File = CursesUI.cxx, Line = 192 Parsing restarts here after previous syntax error. targetIter--; ^ cc-3322 CC: WARNING File = CursesUI.cxx, Line = 193 Omission of an explicit type is nonstandard ("int" is assumed). updateTargetWin(); ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 194 Expected a declaration. return false; ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 195 Expected a declaration. case KEY_RIGHT: ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 197 Expected a declaration. if (targetIter == players.end()) ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 199 Expected a declaration. else if (targetIter == additionalTargets.end()) ^ cc-3322 CC: WARNING File = CursesUI.cxx, Line = 201 Omission of an explicit type is nonstandard ("int" is assumed). updateTargetWin(); ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 202 Expected a declaration. return false; ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 205 Expected a declaration. case KEY_UP: ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 208 Expected a declaration. --currentHistory; ^ cc-1077 CC: ERROR File = CursesUI.cxx, Line = 209 The indicated declaration has no storage class or type specifier. cmd = history[currentHistory]; ^ cc-1220 CC: ERROR File = CursesUI.cxx, Line = 209 The variable "cmd" has already been defined. cmd = history[currentHistory]; ^ cc-1138 CC: ERROR File = CursesUI.cxx, Line = 209 Expression must have pointer-to-object type. cmd = history[currentHistory]; ^ cc-3322 CC: WARNING File = CursesUI.cxx, Line = 210 Omission of an explicit type is nonstandard ("int" is assumed). updateCmdWin(); ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 211 Expected a declaration. return false; ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 212 Expected a declaration. case KEY_DOWN: ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 215 Expected a declaration. if (currentHistory == history.size()) ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 217 Expected a declaration. else ^ cc-3322 CC: WARNING File = CursesUI.cxx, Line = 219 Omission of an explicit type is nonstandard ("int" is assumed). updateCmdWin(); ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 220 Expected a declaration. return false; ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 223 Expected a declaration. case KEY_F(5): ^ cc-1012 CC: WARNING File = CursesUI.cxx, Line = 237 Parsing restarts here after previous syntax error. return false; ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 240 Expected a declaration. case KEY_F(6): ^ cc-1012 CC: WARNING File = CursesUI.cxx, Line = 259 Parsing restarts here after previous syntax error. return false; ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 262 Expected a declaration. case '\t': { ^ cc-1012 CC: WARNING File = CursesUI.cxx, Line = 274 Parsing restarts here after previous syntax error. return false; ^ cc-1077 CC: ERROR File = CursesUI.cxx, Line = 275 The indicated declaration has no storage class or type specifier. cmd += char(c); ^ cc-1220 CC: ERROR File = CursesUI.cxx, Line = 275 The variable "cmd" has already been defined. cmd += char(c); ^ cc-1065 CC: ERROR File = CursesUI.cxx, Line = 275 A semicolon is expected at this point. cmd += char(c); ^ cc-3322 CC: WARNING File = CursesUI.cxx, Line = 276 Omission of an explicit type is nonstandard ("int" is assumed). updateCmdWin(); ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 277 Expected a declaration. return false; ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 278 Expected a declaration. } ^ cc-1012 CC: WARNING File = CursesUI.cxx, Line = 377 Parsing restarts here after previous syntax error. mvwin(mainWin, 0, 0); ^ cc-1077 CC: ERROR File = CursesUI.cxx, Line = 378 The indicated declaration has no storage class or type specifier. updateMainWinFromBuffer(LINES - 2); ^ cc-1220 CC: ERROR File = CursesUI.cxx, Line = 378 The variable "updateMainWinFromBuffer" has already been defined. updateMainWinFromBuffer(LINES - 2); ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 379 Expected a declaration. } ^ cc-1077 CC: ERROR File = CursesUI.cxx, Line = 381 The indicated declaration has no storage class or type specifier. wrefresh(cmdWin); ^ cc-1220 CC: ERROR File = CursesUI.cxx, Line = 381 The variable "wrefresh" has already been defined. wrefresh(cmdWin); ^ cc-1166 CC: ERROR File = CursesUI.cxx, Line = 382 Expected a declaration. } ^ cc-1012 CC: WARNING at end of source Parsing restarts here after previous syntax error. 83 errors detected in the compilation of "CursesUI.cxx". make: *** [CursesUI.o] Error 2