calcdriver.cpp:4455:1: warning: "/*" within comment [-Wcomment]
 /****************************************************************************/
 ^
calcdriver.cpp:5085:1: warning: "/*" within comment [-Wcomment]
 /****************************************************************************/
 ^
calcdriver.cpp:5539:1: warning: "/*" within comment [-Wcomment]
 /****************************************************************************/
 ^
calcdriver.cpp:5863:1: warning: "/*" within comment [-Wcomment]
 /****************************************************************************/
 ^
calcdriver.cpp:6204:1: warning: "/*" within comment [-Wcomment]
 /****************************************************************************/
 ^
calcdriver.cpp:6652:1: warning: "/*" within comment [-Wcomment]
 /****************************************************************************/
 ^
calcdriver.cpp:6743:1: warning: "/*" within comment [-Wcomment]
 /****************************************************************************/
 ^
calcdriver.cpp:117:1: error: ‘ServerPollingMgr’ does not name a type
 ServerPollingMgr::ServerPollingMgr(CalcDriver* Parent_, bool CreateBackup_):
 ^
calcdriver.cpp:162:1: error: ‘ServerPollingMgr’ does not name a type
 ServerPollingMgr::~ServerPollingMgr()
 ^
calcdriver.cpp:179:1: error: ‘ServerPollingMgr’ does not name a type
 ServerPollingMgr& ServerPollingMgr::operator = (const ServerPollingMgr& Obj_)
 ^
calcdriver.cpp:223:13: error: ‘ServerPollingMgr’ has not been declared
 const char* ServerPollingMgr::KeepAliveStateToStr(int State_)
             ^
calcdriver.cpp: In function ‘const char* KeepAliveStateToStr(int)’:
calcdriver.cpp:227:16: error: ‘IDLE’ is not a member of ‘Mcalc_KeepAliveState’
     (State_ == Mcalc_KeepAliveState::IDLE)                ? "IDLE":
                ^
calcdriver.cpp:228:16: error: ‘RESET_POLLING’ is not a member of ‘Mcalc_KeepAliveState’
     (State_ == Mcalc_KeepAliveState::RESET_POLLING)       ? "RESET_POLLING":
                ^
calcdriver.cpp:230:16: error: ‘POLL_SERVERALIVE’ is not a member of ‘Mcalc_KeepAliveState’
     (State_ == Mcalc_KeepAliveState::POLL_SERVERALIVE)    ? "POLL_SERVERALIVE":
                ^
calcdriver.cpp:232:16: error: ‘CLIENT_ALIVE’ is not a member of ‘Mcalc_KeepAliveState’
     (State_ == Mcalc_KeepAliveState::CLIENT_ALIVE)        ? "CLIENT_ALIVE":
                ^
calcdriver.cpp:234:16: error: ‘POLL_CLIENTALIVE’ is not a member of ‘Mcalc_KeepAliveState’
     (State_ == Mcalc_KeepAliveState::POLL_CLIENTALIVE)    ? "POLL_CLIENTALIVE":
                ^
calcdriver.cpp:236:16: error: ‘SERVER_ALIVE’ is not a member of ‘Mcalc_KeepAliveState’
     (State_ == Mcalc_KeepAliveState::SERVER_ALIVE)        ? "SERVER_ALIVE":""
                ^
calcdriver.cpp: At global scope:
calcdriver.cpp:241:13: error: ‘ServerPollingMgr’ has not been declared
 const char* ServerPollingMgr::PollStateToStr(int State_)
             ^
calcdriver.cpp: In function ‘const char* PollStateToStr(int)’:
calcdriver.cpp:245:16: error: ‘Mcalc_PollState’ has not been declared
     (State_ == Mcalc_PollState::IDLE)             ? "IDLE":
                ^
calcdriver.cpp:246:16: error: ‘Mcalc_PollState’ has not been declared
     (State_ == Mcalc_PollState::SERVER_TO_CLIENT) ? "SERVER_TO_CLIENT":
                ^
calcdriver.cpp:247:16: error: ‘Mcalc_PollState’ has not been declared
     (State_ == Mcalc_PollState::CLIENT_RESPONSE)  ? "CLIENT_RESPONSE":
                ^
calcdriver.cpp:248:16: error: ‘Mcalc_PollState’ has not been declared
     (State_ == Mcalc_PollState::CLIENT_TO_SERVER) ? "CLIENT_TO_SERVER":
                ^
calcdriver.cpp:249:16: error: ‘Mcalc_PollState’ has not been declared
     (State_ == Mcalc_PollState::SERVER_RESPONSE)  ? "SERVER_RESPONSE":""
                ^
calcdriver.cpp: At global scope:
calcdriver.cpp:254:6: error: ‘ServerPollingMgr’ has not been declared
 void ServerPollingMgr::ResetPollResults(bool& PollingServer_,
      ^
calcdriver.cpp:264:6: error: ‘ServerPollingMgr’ has not been declared
 void ServerPollingMgr::ShowPollResults(bool PollingServer_,
      ^
calcdriver.cpp:264:6: warning: unused parameter ‘PollingServer_’ [-Wunused-parameter]
calcdriver.cpp:264:6: warning: unused parameter ‘PollError_’ [-Wunused-parameter]
calcdriver.cpp:264:6: warning: unused parameter ‘PollAnswered_’ [-Wunused-parameter]
calcdriver.cpp:291:6: error: ‘ServerPollingMgr’ has not been declared
 void ServerPollingMgr::GivePollResults(bool& PollingServer_,
      ^
calcdriver.cpp: In function ‘void GivePollResults(bool&, bool&, bool&)’:
calcdriver.cpp:300:38: error: ‘ClientIsPolling’ was not declared in this scope
     PollingServer_ = ClientIsPolling() && PollServerInProcess();
                                      ^
calcdriver.cpp:300:63: error: ‘PollServerInProcess’ was not declared in this scope
     PollingServer_ = ClientIsPolling() && PollServerInProcess();
                                                               ^
calcdriver.cpp:303:21: error: ‘_ConfirmedServerAlive’ was not declared in this scope
     PollAnswered_ = _ConfirmedServerAlive &&
                     ^
calcdriver.cpp:304:42: error: ‘PollServerInProcess’ was not declared in this scope
                     (PollServerInProcess() || PollServerCompleted(false));
                                          ^
calcdriver.cpp:304:72: error: ‘PollServerCompleted’ was not declared in this scope
                     (PollServerInProcess() || PollServerCompleted(false));
                                                                        ^
calcdriver.cpp:307:18: error: ‘_KeepAlivePollError’ was not declared in this scope
     PollError_ = _KeepAlivePollError && _RetryPollCount > 0 &&
                  ^
calcdriver.cpp:307:41: error: ‘_RetryPollCount’ was not declared in this scope
     PollError_ = _KeepAlivePollError && _RetryPollCount > 0 &&
                                         ^
calcdriver.cpp:308:38: error: ‘PollServerInProcess’ was not declared in this scope
                  PollServerInProcess();
                                      ^
calcdriver.cpp: At global scope:
calcdriver.cpp:320:1: error: ‘ServerPollingMgr’ does not name a type
 ServerPollingMgr* ServerPollingMgr::SetSleepWaiting(bool flag_)
 ^
calcdriver.cpp:327:1: error: ‘ServerPollingMgr’ does not name a type
 ServerPollingMgr* ServerPollingMgr::SetResetStatesOnDone(bool flag_)
 ^
calcdriver.cpp:334:1: error: ‘ServerPollingMgr’ does not name a type
 ServerPollingMgr* ServerPollingMgr::SetBreakOnPollError(bool flag_)
 ^
calcdriver.cpp:341:1: error: ‘ServerPollingMgr’ does not name a type
 ServerPollingMgr* ServerPollingMgr::SetAllowServerPolling(bool flag_)
 ^
calcdriver.cpp:348:1: error: ‘ServerPollingMgr’ does not name a type
 ServerPollingMgr* ServerPollingMgr::SetExitAtRetryMax(bool flag_)
 ^
calcdriver.cpp:355:1: error: ‘ServerPollingMgr’ does not name a type
 ServerPollingMgr* ServerPollingMgr::SetWaitUntilResponse(bool flag_)
 ^
calcdriver.cpp:362:1: error: ‘ServerPollingMgr’ does not name a type
 ServerPollingMgr* ServerPollingMgr::SetStopTracking(bool flag_)
 ^
calcdriver.cpp:385:1: error: ‘ServerPollingMgr’ does not name a type
 ServerPollingMgr* ServerPollingMgr::SetPausePollResults(bool flag_)
 ^
calcdriver.cpp:392:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::PausePollResults() const
      ^
calcdriver.cpp:392:43: error: non-member function ‘bool PausePollResults()’ cannot have cv-qualifier
 bool ServerPollingMgr::PausePollResults() const
                                           ^
calcdriver.cpp: In function ‘bool PausePollResults()’:
calcdriver.cpp:394:10: error: ‘_PausePollResults’ was not declared in this scope
   return _PausePollResults;
          ^
calcdriver.cpp: At global scope:
calcdriver.cpp:398:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::StopTracking() const
      ^
calcdriver.cpp:398:39: error: non-member function ‘bool StopTracking()’ cannot have cv-qualifier
 bool ServerPollingMgr::StopTracking() const
                                       ^
calcdriver.cpp: In function ‘bool StopTracking()’:
calcdriver.cpp:400:10: error: ‘_StopTracking’ was not declared in this scope
   return _StopTracking;
          ^
calcdriver.cpp: At global scope:
calcdriver.cpp:404:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ServerIsPolling() const
      ^
calcdriver.cpp:404:42: error: non-member function ‘bool ServerIsPolling()’ cannot have cv-qualifier
 bool ServerPollingMgr::ServerIsPolling() const
                                          ^
calcdriver.cpp: In function ‘bool ServerIsPolling()’:
calcdriver.cpp:416:14: error: ‘_PollState’ was not declared in this scope
     return ((_PollState == Mcalc_PollState::SERVER_TO_CLIENT ||
              ^
calcdriver.cpp:416:28: error: ‘Mcalc_PollState’ has not been declared
     return ((_PollState == Mcalc_PollState::SERVER_TO_CLIENT ||
                            ^
calcdriver.cpp:417:28: error: ‘Mcalc_PollState’ has not been declared
              _PollState == Mcalc_PollState::CLIENT_RESPONSE) &&
                            ^
calcdriver.cpp:418:13: error: ‘_ServerState’ was not declared in this scope
             _ServerState == Mcalc_KeepAliveState::POLL_CLIENTALIVE);
             ^
calcdriver.cpp:418:29: error: ‘POLL_CLIENTALIVE’ is not a member of ‘Mcalc_KeepAliveState’
             _ServerState == Mcalc_KeepAliveState::POLL_CLIENTALIVE);
                             ^
calcdriver.cpp: At global scope:
calcdriver.cpp:423:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ClientIsAlive() const
      ^
calcdriver.cpp:423:40: error: non-member function ‘bool ClientIsAlive()’ cannot have cv-qualifier
 bool ServerPollingMgr::ClientIsAlive() const
                                        ^
calcdriver.cpp: In function ‘bool ClientIsAlive()’:
calcdriver.cpp:439:37: error: ‘ServerAcked’ was not declared in this scope
     bool ServerAcked_ = ServerAcked();
                                     ^
calcdriver.cpp:440:21: error: ‘_PollState’ was not declared in this scope
     bool retval = ((_PollState == Mcalc_PollState::CLIENT_RESPONSE ||
                     ^
calcdriver.cpp:440:35: error: ‘Mcalc_PollState’ has not been declared
     bool retval = ((_PollState == Mcalc_PollState::CLIENT_RESPONSE ||
                                   ^
calcdriver.cpp:442:20: error: ‘_ClientState’ was not declared in this scope
                    _ClientState == Mcalc_KeepAliveState::CLIENT_ALIVE &&
                    ^
calcdriver.cpp:442:36: error: ‘CLIENT_ALIVE’ is not a member of ‘Mcalc_KeepAliveState’
                    _ClientState == Mcalc_KeepAliveState::CLIENT_ALIVE &&
                                    ^
calcdriver.cpp:443:20: error: ‘_RetrievedCycle’ was not declared in this scope
                    _RetrievedCycle == _CycleNum);
                    ^
calcdriver.cpp:443:39: error: ‘_CycleNum’ was not declared in this scope
                    _RetrievedCycle == _CycleNum);
                                       ^
calcdriver.cpp: At global scope:
calcdriver.cpp:451:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ServerAcked() const
      ^
calcdriver.cpp:451:38: error: non-member function ‘bool ServerAcked()’ cannot have cv-qualifier
 bool ServerPollingMgr::ServerAcked() const
                                      ^
calcdriver.cpp: In function ‘bool ServerAcked()’:
calcdriver.cpp:470:20: error: ‘_PollState’ was not declared in this scope
     bool cond1 = ((_PollState == Mcalc_PollState::SERVER_TO_CLIENT ||
                    ^
calcdriver.cpp:470:34: error: ‘Mcalc_PollState’ has not been declared
     bool cond1 = ((_PollState == Mcalc_PollState::SERVER_TO_CLIENT ||
                                  ^
calcdriver.cpp:471:34: error: ‘Mcalc_PollState’ has not been declared
                    _PollState == Mcalc_PollState::CLIENT_RESPONSE) &&
                                  ^
calcdriver.cpp:472:19: error: ‘_ServerState’ was not declared in this scope
                   _ServerState == Mcalc_KeepAliveState::SERVER_ACKNOWLEDGED &&
                   ^
calcdriver.cpp:473:19: error: ‘_RetrievedCycle’ was not declared in this scope
                   _RetrievedCycle == _CycleNum);
                   ^
calcdriver.cpp:473:38: error: ‘_CycleNum’ was not declared in this scope
                   _RetrievedCycle == _CycleNum);
                                      ^
calcdriver.cpp:474:34: error: ‘Mcalc_PollState’ has not been declared
     bool cond2 = ((_PollState == Mcalc_PollState::CLIENT_RESPONSE ||
                                  ^
calcdriver.cpp:475:34: error: ‘Mcalc_PollState’ has not been declared
                    _PollState == Mcalc_PollState::IDLE) &&
                                  ^
calcdriver.cpp:477:19: error: ‘_ClientState’ was not declared in this scope
                   _ClientState == Mcalc_KeepAliveState::RESET_POLLING &&
                   ^
calcdriver.cpp:477:35: error: ‘RESET_POLLING’ is not a member of ‘Mcalc_KeepAliveState’
                   _ClientState == Mcalc_KeepAliveState::RESET_POLLING &&
                                   ^
calcdriver.cpp: At global scope:
calcdriver.cpp:486:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ResetSignalSent()
      ^
calcdriver.cpp: In function ‘bool ResetSignalSent()’:
calcdriver.cpp:500:28: error: ‘_PollState’ was not declared in this scope
     bool ClientResponse_ = _PollState == Mcalc_PollState::CLIENT_RESPONSE &&
                            ^
calcdriver.cpp:500:42: error: ‘Mcalc_PollState’ has not been declared
     bool ClientResponse_ = _PollState == Mcalc_PollState::CLIENT_RESPONSE &&
                                          ^
calcdriver.cpp:501:56: error: ‘ClientReceiveCompleted’ was not declared in this scope
                            ClientReceiveCompleted(false);
                                                        ^
calcdriver.cpp:502:54: error: ‘PollingResetByServer’ was not declared in this scope
     return ((ClientResponse_ || PollingResetByServer()) &&
                                                      ^
calcdriver.cpp:503:13: error: ‘_ClientState’ was not declared in this scope
             _ClientState == Mcalc_KeepAliveState::RESET_POLLING &&
             ^
calcdriver.cpp:503:29: error: ‘RESET_POLLING’ is not a member of ‘Mcalc_KeepAliveState’
             _ClientState == Mcalc_KeepAliveState::RESET_POLLING &&
                             ^
calcdriver.cpp:504:13: error: ‘_RetrievedCycle’ was not declared in this scope
             _RetrievedCycle == _CycleNum);
             ^
calcdriver.cpp:504:32: error: ‘_CycleNum’ was not declared in this scope
             _RetrievedCycle == _CycleNum);
                                ^
calcdriver.cpp: At global scope:
calcdriver.cpp:509:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::PollingResetByServer()
      ^
calcdriver.cpp: In function ‘bool PollingResetByServer()’:
calcdriver.cpp:522:41: error: ‘ClientReceiveCompleted’ was not declared in this scope
     return (ClientReceiveCompleted(false) &&
                                         ^
calcdriver.cpp:523:13: error: ‘_PollState’ was not declared in this scope
             _PollState == Mcalc_KeepAliveState::IDLE &&
             ^
calcdriver.cpp:523:27: error: ‘IDLE’ is not a member of ‘Mcalc_KeepAliveState’
             _PollState == Mcalc_KeepAliveState::IDLE &&
                           ^
calcdriver.cpp:524:13: error: ‘_ClientState’ was not declared in this scope
             _ClientState == Mcalc_KeepAliveState::RESET_POLLING &&
             ^
calcdriver.cpp:524:29: error: ‘RESET_POLLING’ is not a member of ‘Mcalc_KeepAliveState’
             _ClientState == Mcalc_KeepAliveState::RESET_POLLING &&
                             ^
calcdriver.cpp:525:13: error: ‘_ServerState’ was not declared in this scope
             _ServerState == Mcalc_KeepAliveState::IDLE);
             ^
calcdriver.cpp:525:29: error: ‘IDLE’ is not a member of ‘Mcalc_KeepAliveState’
             _ServerState == Mcalc_KeepAliveState::IDLE);
                             ^
calcdriver.cpp: At global scope:
calcdriver.cpp:530:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::AtInitialState()
      ^
calcdriver.cpp: In function ‘bool AtInitialState()’:
calcdriver.cpp:555:20: error: ‘_Parent’ was not declared in this scope
     int IoState_ = _Parent->SetNoPolling(true)
                    ^
calcdriver.cpp:557:28: error: ‘_ServerPollProcess’ was not declared in this scope
     bool PollServerDone_ = _ServerPollProcess == REQUIRED;
                            ^
calcdriver.cpp:557:50: error: ‘REQUIRED’ was not declared in this scope
     bool PollServerDone_ = _ServerPollProcess == REQUIRED;
                                                  ^
calcdriver.cpp:558:56: error: ‘ClientReceiveCompleted’ was not declared in this scope
     bool PollClientDone_ = ClientReceiveCompleted(false) ||
                                                        ^
calcdriver.cpp:559:28: error: ‘_ClientPollProcess’ was not declared in this scope
                            _ClientPollProcess == INITIALSTATE;
                            ^
calcdriver.cpp:559:50: error: ‘INITIALSTATE’ was not declared in this scope
                            _ClientPollProcess == INITIALSTATE;
                                                  ^
calcdriver.cpp:563:14: error: ‘_ServerState’ was not declared in this scope
             (_ServerState == Mcalc_KeepAliveState::IDLE ||
              ^
calcdriver.cpp:563:30: error: ‘IDLE’ is not a member of ‘Mcalc_KeepAliveState’
             (_ServerState == Mcalc_KeepAliveState::IDLE ||
                              ^
calcdriver.cpp:564:30: error: ‘RESET_POLLING’ is not a member of ‘Mcalc_KeepAliveState’
              _ServerState == Mcalc_KeepAliveState::RESET_POLLING) &&
                              ^
calcdriver.cpp:565:13: error: ‘_PollState’ was not declared in this scope
             _PollState == Mcalc_KeepAliveState::IDLE &&
             ^
calcdriver.cpp:565:27: error: ‘IDLE’ is not a member of ‘Mcalc_KeepAliveState’
             _PollState == Mcalc_KeepAliveState::IDLE &&
                           ^
calcdriver.cpp:566:14: error: ‘_ClientState’ was not declared in this scope
             (_ClientState == Mcalc_KeepAliveState::IDLE ||
              ^
calcdriver.cpp:566:30: error: ‘IDLE’ is not a member of ‘Mcalc_KeepAliveState’
             (_ClientState == Mcalc_KeepAliveState::IDLE ||
                              ^
calcdriver.cpp:567:30: error: ‘RESET_POLLING’ is not a member of ‘Mcalc_KeepAliveState’
              _ClientState == Mcalc_KeepAliveState::RESET_POLLING));
                              ^
calcdriver.cpp: At global scope:
calcdriver.cpp:572:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ClientIsPolling() const
      ^
calcdriver.cpp:572:42: error: non-member function ‘bool ClientIsPolling()’ cannot have cv-qualifier
 bool ServerPollingMgr::ClientIsPolling() const
                                          ^
calcdriver.cpp: In function ‘bool ClientIsPolling()’:
calcdriver.cpp:584:14: error: ‘_PollState’ was not declared in this scope
     return ((_PollState == Mcalc_PollState::CLIENT_TO_SERVER ||
              ^
calcdriver.cpp:584:28: error: ‘Mcalc_PollState’ has not been declared
     return ((_PollState == Mcalc_PollState::CLIENT_TO_SERVER ||
                            ^
calcdriver.cpp:585:28: error: ‘Mcalc_PollState’ has not been declared
              _PollState == Mcalc_PollState::SERVER_RESPONSE) &&
                            ^
calcdriver.cpp:586:13: error: ‘_ClientState’ was not declared in this scope
             _ClientState == Mcalc_KeepAliveState::POLL_SERVERALIVE);
             ^
calcdriver.cpp:586:29: error: ‘POLL_SERVERALIVE’ is not a member of ‘Mcalc_KeepAliveState’
             _ClientState == Mcalc_KeepAliveState::POLL_SERVERALIVE);
                             ^
calcdriver.cpp: At global scope:
calcdriver.cpp:591:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ServerIsAlive() const
      ^
calcdriver.cpp:591:40: error: non-member function ‘bool ServerIsAlive()’ cannot have cv-qualifier
 bool ServerPollingMgr::ServerIsAlive() const
                                        ^
calcdriver.cpp: In function ‘bool ServerIsAlive()’:
calcdriver.cpp:607:37: error: ‘ClientAcked’ was not declared in this scope
     bool ClientAcked_ = ClientAcked();
                                     ^
calcdriver.cpp:608:21: error: ‘_PollState’ was not declared in this scope
     bool retval = ((_PollState == Mcalc_PollState::SERVER_RESPONSE ||
                     ^
calcdriver.cpp:608:35: error: ‘Mcalc_PollState’ has not been declared
     bool retval = ((_PollState == Mcalc_PollState::SERVER_RESPONSE ||
                                   ^
calcdriver.cpp:610:20: error: ‘_ServerState’ was not declared in this scope
                    _ServerState == Mcalc_KeepAliveState::SERVER_ALIVE &&
                    ^
calcdriver.cpp:610:36: error: ‘SERVER_ALIVE’ is not a member of ‘Mcalc_KeepAliveState’
                    _ServerState == Mcalc_KeepAliveState::SERVER_ALIVE &&
                                    ^
calcdriver.cpp:611:20: error: ‘_RetrievedCycle’ was not declared in this scope
                    _RetrievedCycle == _CycleNum);
                    ^
calcdriver.cpp:611:39: error: ‘_CycleNum’ was not declared in this scope
                    _RetrievedCycle == _CycleNum);
                                       ^
calcdriver.cpp: At global scope:
calcdriver.cpp:619:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ClientAcked() const
      ^
calcdriver.cpp:619:38: error: non-member function ‘bool ClientAcked()’ cannot have cv-qualifier
 bool ServerPollingMgr::ClientAcked() const
                                      ^
calcdriver.cpp: In function ‘bool ClientAcked()’:
calcdriver.cpp:643:20: error: ‘_PollState’ was not declared in this scope
     bool cond1 = ((_PollState == Mcalc_PollState::CLIENT_TO_SERVER ||
                    ^
calcdriver.cpp:643:34: error: ‘Mcalc_PollState’ has not been declared
     bool cond1 = ((_PollState == Mcalc_PollState::CLIENT_TO_SERVER ||
                                  ^
calcdriver.cpp:644:34: error: ‘Mcalc_PollState’ has not been declared
                    _PollState == Mcalc_PollState::SERVER_RESPONSE) &&
                                  ^
calcdriver.cpp:645:19: error: ‘_ClientState’ was not declared in this scope
                   _ClientState == Mcalc_KeepAliveState::CLIENT_ACKNOWLEDGED &&
                   ^
calcdriver.cpp:646:19: error: ‘_RetrievedCycle’ was not declared in this scope
                   _RetrievedCycle == _CycleNum);
                   ^
calcdriver.cpp:646:38: error: ‘_CycleNum’ was not declared in this scope
                   _RetrievedCycle == _CycleNum);
                                      ^
calcdriver.cpp:647:34: error: ‘Mcalc_PollState’ has not been declared
     bool cond2 = ((_PollState == Mcalc_PollState::SERVER_RESPONSE ||
                                  ^
calcdriver.cpp:648:34: error: ‘Mcalc_PollState’ has not been declared
                    _PollState == Mcalc_PollState::IDLE) &&
                                  ^
calcdriver.cpp:650:19: error: ‘_ServerState’ was not declared in this scope
                   _ServerState == Mcalc_KeepAliveState::RESET_POLLING &&
                   ^
calcdriver.cpp:650:35: error: ‘RESET_POLLING’ is not a member of ‘Mcalc_KeepAliveState’
                   _ServerState == Mcalc_KeepAliveState::RESET_POLLING &&
                                   ^
calcdriver.cpp:652:33: error: ‘Mcalc_PollState’ has not been declared
     bool cond3 = (_PollState == Mcalc_PollState::IDLE &&
                                 ^
calcdriver.cpp:654:35: error: ‘IDLE’ is not a member of ‘Mcalc_KeepAliveState’
                   _ServerState == Mcalc_KeepAliveState::IDLE &&
                                   ^
calcdriver.cpp: At global scope:
calcdriver.cpp:662:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ResetRequested()
      ^
calcdriver.cpp: In function ‘bool ResetRequested()’:
calcdriver.cpp:683:39: error: ‘PollingReset’ was not declared in this scope
     bool PollingReset_ = PollingReset();
                                       ^
calcdriver.cpp:684:20: error: ‘_PollState’ was not declared in this scope
     bool cond1 = ((_PollState == Mcalc_PollState::SERVER_RESPONSE ||
                    ^
calcdriver.cpp:684:34: error: ‘Mcalc_PollState’ has not been declared
     bool cond1 = ((_PollState == Mcalc_PollState::SERVER_RESPONSE ||
                                  ^
calcdriver.cpp:685:34: error: ‘Mcalc_PollState’ has not been declared
                    _PollState == Mcalc_PollState::IDLE || PollingReset_) &&
                                  ^
calcdriver.cpp:686:19: error: ‘_ClientState’ was not declared in this scope
                   _ClientState == Mcalc_KeepAliveState::CLIENT_ACKNOWLEDGED &&
                   ^
calcdriver.cpp:687:19: error: ‘_ServerState’ was not declared in this scope
                   _ServerState == Mcalc_KeepAliveState::RESET_POLLING &&
                   ^
calcdriver.cpp:687:35: error: ‘RESET_POLLING’ is not a member of ‘Mcalc_KeepAliveState’
                   _ServerState == Mcalc_KeepAliveState::RESET_POLLING &&
                                   ^
calcdriver.cpp:688:20: error: ‘_RetrievedCycle’ was not declared in this scope
                   (_RetrievedCycle == _CycleNum || _RetrievedCycle == 0));
                    ^
calcdriver.cpp:688:39: error: ‘_CycleNum’ was not declared in this scope
                   (_RetrievedCycle == _CycleNum || _RetrievedCycle == 0));
                                       ^
calcdriver.cpp:689:33: error: ‘Mcalc_PollState’ has not been declared
     bool cond2 = (_PollState == Mcalc_PollState::IDLE &&
                                 ^
calcdriver.cpp:691:35: error: ‘IDLE’ is not a member of ‘Mcalc_KeepAliveState’
                   _ServerState == Mcalc_KeepAliveState::IDLE &&
                                   ^
calcdriver.cpp: At global scope:
calcdriver.cpp:700:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::PollingReset()
      ^
calcdriver.cpp: In function ‘bool PollingReset()’:
calcdriver.cpp:713:38: error: ‘PollServerCompleted’ was not declared in this scope
     return (PollServerCompleted(false) &&
                                      ^
calcdriver.cpp:714:13: error: ‘_PollState’ was not declared in this scope
             _PollState == Mcalc_KeepAliveState::IDLE &&
             ^
calcdriver.cpp:714:27: error: ‘IDLE’ is not a member of ‘Mcalc_KeepAliveState’
             _PollState == Mcalc_KeepAliveState::IDLE &&
                           ^
calcdriver.cpp:715:13: error: ‘_ClientState’ was not declared in this scope
             _ClientState == Mcalc_KeepAliveState::IDLE &&
             ^
calcdriver.cpp:715:29: error: ‘IDLE’ is not a member of ‘Mcalc_KeepAliveState’
             _ClientState == Mcalc_KeepAliveState::IDLE &&
                             ^
calcdriver.cpp:716:13: error: ‘_ServerState’ was not declared in this scope
             _ServerState == Mcalc_KeepAliveState::RESET_POLLING);
             ^
calcdriver.cpp:716:29: error: ‘RESET_POLLING’ is not a member of ‘Mcalc_KeepAliveState’
             _ServerState == Mcalc_KeepAliveState::RESET_POLLING);
                             ^
calcdriver.cpp: At global scope:
calcdriver.cpp:721:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::WaitingForServerResponse(bool* FromClt_)
      ^
calcdriver.cpp: In function ‘bool WaitingForServerResponse(bool*)’:
calcdriver.cpp:732:44: error: ‘PollServerInProcess’ was not declared in this scope
     bool FromClient_ = PollServerInProcess();
                                            ^
calcdriver.cpp:733:47: error: ‘ClientReceiveInProcess’ was not declared in this scope
     bool FromServer_ = ClientReceiveInProcess();
                                               ^
calcdriver.cpp: At global scope:
calcdriver.cpp:752:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ResponseRequired(int PrevPollState_,
      ^
calcdriver.cpp: In function ‘bool ResponseRequired(int, int&, int)’:
calcdriver.cpp:756:11: error: ‘_WaitUntilResponse’ was not declared in this scope
   return (_WaitUntilResponse && LoopGuard_ < LoopLimit_ &&
           ^
calcdriver.cpp:757:31: error: ‘Mcalc_PollState’ has not been declared
           ((PrevPollState_ == Mcalc_PollState::CLIENT_TO_SERVER &&
                               ^
calcdriver.cpp:758:13: error: ‘_PollState’ was not declared in this scope
             _PollState != Mcalc_PollState::SERVER_RESPONSE) ||
             ^
calcdriver.cpp:758:27: error: ‘Mcalc_PollState’ has not been declared
             _PollState != Mcalc_PollState::SERVER_RESPONSE) ||
                           ^
calcdriver.cpp:759:31: error: ‘Mcalc_PollState’ has not been declared
            (PrevPollState_ == Mcalc_PollState::CLIENT_RESPONSE &&
                               ^
calcdriver.cpp:760:27: error: ‘Mcalc_PollState’ has not been declared
             _PollState != Mcalc_PollState::SERVER_TO_CLIENT &&
                           ^
calcdriver.cpp:761:27: error: ‘Mcalc_PollState’ has not been declared
             _PollState != Mcalc_PollState::IDLE)));
                           ^
calcdriver.cpp: At global scope:
calcdriver.cpp:765:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ServerSetPollInProcess(bool* PollStateOk_) const
      ^
calcdriver.cpp:765:67: error: non-member function ‘bool ServerSetPollInProcess(bool*)’ cannot have cv-qualifier
 bool ServerPollingMgr::ServerSetPollInProcess(bool* PollStateOk_) const
                                                                   ^
calcdriver.cpp: In function ‘bool ServerSetPollInProcess(bool*)’:
calcdriver.cpp:767:21: error: ‘_ServerState’ was not declared in this scope
   int ResetState_ = _ServerState == Mcalc_KeepAliveState::RESET_POLLING ?
                     ^
calcdriver.cpp:767:37: error: ‘RESET_POLLING’ is not a member of ‘Mcalc_KeepAliveState’
   int ResetState_ = _ServerState == Mcalc_KeepAliveState::RESET_POLLING ?
                                     ^
calcdriver.cpp:768:24: error: ‘Mcalc_PollState’ has not been declared
                        Mcalc_PollState::IDLE:-1;
                        ^
calcdriver.cpp:769:36: error: ‘POLL_CLIENTALIVE’ is not a member of ‘Mcalc_KeepAliveState’
   int NewState_ = (_ServerState == Mcalc_KeepAliveState::POLL_CLIENTALIVE ||
                                    ^
calcdriver.cpp:771:24: error: ‘Mcalc_PollState’ has not been declared
                        Mcalc_PollState::SERVER_TO_CLIENT:-1;
                        ^
calcdriver.cpp:773:26: error: ‘_PollState’ was not declared in this scope
   bool PollStateMatch_ = _PollState == NewState_ ||
                          ^
calcdriver.cpp:778:27: error: ‘POLL_CLIENTALIVE’ is not a member of ‘Mcalc_KeepAliveState’
   return (_ServerState == Mcalc_KeepAliveState::POLL_CLIENTALIVE ||
                           ^
calcdriver.cpp:780:27: error: ‘RESET_POLLING’ is not a member of ‘Mcalc_KeepAliveState’
           _ServerState == Mcalc_KeepAliveState::RESET_POLLING);
                           ^
calcdriver.cpp: At global scope:
calcdriver.cpp:784:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ClientSetPollReset(bool* PollStateOk_) const
      ^
calcdriver.cpp:784:63: error: non-member function ‘bool ClientSetPollReset(bool*)’ cannot have cv-qualifier
 bool ServerPollingMgr::ClientSetPollReset(bool* PollStateOk_) const
                                                               ^
calcdriver.cpp: In function ‘bool ClientSetPollReset(bool*)’:
calcdriver.cpp:786:21: error: ‘_ClientState’ was not declared in this scope
   int ResetState_ = _ClientState == Mcalc_KeepAliveState::RESET_POLLING ?
                     ^
calcdriver.cpp:786:37: error: ‘RESET_POLLING’ is not a member of ‘Mcalc_KeepAliveState’
   int ResetState_ = _ClientState == Mcalc_KeepAliveState::RESET_POLLING ?
                                     ^
calcdriver.cpp:787:24: error: ‘Mcalc_PollState’ has not been declared
                        Mcalc_PollState::IDLE:-1;
                        ^
calcdriver.cpp:788:36: error: ‘RESET_POLLING’ is not a member of ‘Mcalc_KeepAliveState’
   int NewState_ = (_ClientState == Mcalc_KeepAliveState::RESET_POLLING ||
                                    ^
calcdriver.cpp:789:36: error: ‘CLIENT_ALIVE’ is not a member of ‘Mcalc_KeepAliveState’
                    _ClientState == Mcalc_KeepAliveState::CLIENT_ALIVE) ?
                                    ^
calcdriver.cpp:790:24: error: ‘Mcalc_PollState’ has not been declared
                        Mcalc_PollState::CLIENT_RESPONSE:-1;
                        ^
calcdriver.cpp:792:26: error: ‘_PollState’ was not declared in this scope
   bool PollStateMatch_ = _PollState == NewState_ ||
                          ^
calcdriver.cpp:797:27: error: ‘RESET_POLLING’ is not a member of ‘Mcalc_KeepAliveState’
   return (_ClientState == Mcalc_KeepAliveState::RESET_POLLING ||
                           ^
calcdriver.cpp:798:27: error: ‘CLIENT_ALIVE’ is not a member of ‘Mcalc_KeepAliveState’
           _ClientState == Mcalc_KeepAliveState::CLIENT_ALIVE);
                           ^
calcdriver.cpp: At global scope:
calcdriver.cpp:802:5: error: ‘ServerPollingMgr’ has not been declared
 int ServerPollingMgr::ReadClientPollProcess(bool RefreshStates_)
     ^
calcdriver.cpp: In function ‘int ReadClientPollProcess(bool)’:
calcdriver.cpp:806:3: error: ‘_RdClientPoll’ was not declared in this scope
   _RdClientPoll = false;
   ^
calcdriver.cpp:810:22: error: ‘ReadServerState’ was not declared in this scope
     ReadServerState(0);
                      ^
calcdriver.cpp:811:26: error: ‘ReadClientState’ was not declared in this scope
     ReadClientState(false);
                          ^
calcdriver.cpp:818:7: error: ‘_PollState’ was not declared in this scope
       _PollState = Mcalc_PollState::CLIENT_RESPONSE;
       ^
calcdriver.cpp:818:20: error: ‘Mcalc_PollState’ has not been declared
       _PollState = Mcalc_PollState::CLIENT_RESPONSE;
                    ^
calcdriver.cpp:819:38: error: ‘SetPollState’ was not declared in this scope
       PsOk_ = SetPollState(_PollState);
                                      ^
calcdriver.cpp:822:14: error: ‘_ClientState’ was not declared in this scope
     Reset_ = _ClientState == Mcalc_KeepAliveState::RESET_POLLING;
              ^
calcdriver.cpp:822:30: error: ‘RESET_POLLING’ is not a member of ‘Mcalc_KeepAliveState’
     Reset_ = _ClientState == Mcalc_KeepAliveState::RESET_POLLING;
                              ^
calcdriver.cpp:826:7: error: ‘_ClientPollProcess’ was not declared in this scope
       _ClientPollProcess = COMPLETED;
       ^
calcdriver.cpp:826:28: error: ‘COMPLETED’ was not declared in this scope
       _ClientPollProcess = COMPLETED;
                            ^
calcdriver.cpp:827:7: error: ‘_PollState’ was not declared in this scope
       _PollState = Mcalc_PollState::IDLE;
       ^
calcdriver.cpp:827:20: error: ‘Mcalc_PollState’ has not been declared
       _PollState = Mcalc_PollState::IDLE;
                    ^
calcdriver.cpp:830:7: error: ‘_ClientPollProcess’ was not declared in this scope
       _ClientPollProcess = INPROCESS;
       ^
calcdriver.cpp:830:28: error: ‘INPROCESS’ was not declared in this scope
       _ClientPollProcess = INPROCESS;
                            ^
calcdriver.cpp:836:16: error: ‘_ServerState’ was not declared in this scope
       Reset_ = _ServerState == Mcalc_KeepAliveState::RESET_POLLING;
                ^
calcdriver.cpp:836:32: error: ‘RESET_POLLING’ is not a member of ‘Mcalc_KeepAliveState’
       Reset_ = _ServerState == Mcalc_KeepAliveState::RESET_POLLING;
                                ^
calcdriver.cpp:837:7: error: ‘_PollState’ was not declared in this scope
       _PollState = Reset_ ? Mcalc_PollState::IDLE:
       ^
calcdriver.cpp:837:29: error: ‘Mcalc_PollState’ has not been declared
       _PollState = Reset_ ? Mcalc_PollState::IDLE:
                             ^
calcdriver.cpp:838:29: error: ‘Mcalc_PollState’ has not been declared
                             Mcalc_PollState::SERVER_TO_CLIENT;
                             ^
calcdriver.cpp:840:38: error: ‘SetPollState’ was not declared in this scope
       PsOk_ = SetPollState(_PollState);
                                      ^
calcdriver.cpp:843:14: error: ‘_ServerState’ was not declared in this scope
     Reset_ = _ServerState == Mcalc_KeepAliveState::RESET_POLLING;
              ^
calcdriver.cpp:843:30: error: ‘RESET_POLLING’ is not a member of ‘Mcalc_KeepAliveState’
     Reset_ = _ServerState == Mcalc_KeepAliveState::RESET_POLLING;
                              ^
calcdriver.cpp:847:7: error: ‘_ClientPollProcess’ was not declared in this scope
       _ClientPollProcess = COMPLETED;
       ^
calcdriver.cpp:847:28: error: ‘COMPLETED’ was not declared in this scope
       _ClientPollProcess = COMPLETED;
                            ^
calcdriver.cpp:848:7: error: ‘_PollState’ was not declared in this scope
       _PollState = Mcalc_PollState::IDLE;
       ^
calcdriver.cpp:848:20: error: ‘Mcalc_PollState’ has not been declared
       _PollState = Mcalc_PollState::IDLE;
                    ^
calcdriver.cpp:851:7: error: ‘_ClientPollProcess’ was not declared in this scope
       _ClientPollProcess = INPROCESS;
       ^
calcdriver.cpp:851:28: error: ‘INPROCESS’ was not declared in this scope
       _ClientPollProcess = INPROCESS;
                            ^
calcdriver.cpp: At global scope:
calcdriver.cpp:859:5: error: ‘ServerPollingMgr’ has not been declared
 int ServerPollingMgr::ReadServerState(int Sleep_)
     ^
calcdriver.cpp: In function ‘int ReadServerState(int)’:
calcdriver.cpp:862:42: error: ‘DELAY_MULT’ was not declared in this scope
   int DelayLen_ = IOSTATE_DELAY_LENGTH * DELAY_MULT;
                                          ^
calcdriver.cpp:863:24: error: ‘_PollState’ was not declared in this scope
   int PrevPollState_ = _PollState;
                        ^
calcdriver.cpp:865:18: error: ‘LOOP_GUARD_LIMIT’ was not declared in this scope
   int LoopMax_ = LOOP_GUARD_LIMIT;
                  ^
calcdriver.cpp:877:20: error: ‘_Parent’ was not declared in this scope
     FILE* Pfptr_ = _Parent->GetPollStateFile(READ, true);
                    ^
calcdriver.cpp:877:46: error: ‘READ’ was not declared in this scope
     FILE* Pfptr_ = _Parent->GetPollStateFile(READ, true);
                                              ^
calcdriver.cpp:903:16: error: ‘_StrBuffer’ was not declared in this scope
       ::memset(_StrBuffer, 0, BUFSIZE);
                ^
calcdriver.cpp:903:31: error: ‘BUFSIZE’ was not declared in this scope
       ::memset(_StrBuffer, 0, BUFSIZE);
                               ^
calcdriver.cpp:930:21: error: ‘_SleepWaiting’ was not declared in this scope
         Sleep_ && (!_SleepWaiting || WaitingForServerResponse()))
                     ^
calcdriver.cpp:930:63: error: too few arguments to function ‘bool WaitingForServerResponse(bool*)’
         Sleep_ && (!_SleepWaiting || WaitingForServerResponse()))
                                                               ^
calcdriver.cpp:721:6: note: declared here
 bool ServerPollingMgr::WaitingForServerResponse(bool* FromClt_)
      ^
calcdriver.cpp:957:14: error: ‘_StrBuffer’ was not declared in this scope
     ::memset(_StrBuffer, 0, BUFSIZE);
              ^
calcdriver.cpp:957:29: error: ‘BUFSIZE’ was not declared in this scope
     ::memset(_StrBuffer, 0, BUFSIZE);
                             ^
calcdriver.cpp:978:7: error: ‘_ServerState’ was not declared in this scope
       _ServerState = atoi(testp);
       ^
calcdriver.cpp:983:7: error: ‘_RetrievedCycle’ was not declared in this scope
       _RetrievedCycle = testp ? atoi(testp):0;
       ^
calcdriver.cpp:986:7: error: ‘_RetrievedCycle’ was not declared in this scope
       _RetrievedCycle = 0;
       ^
calcdriver.cpp:997:10: error: ‘_ServerState’ was not declared in this scope
   return _ServerState;
          ^
calcdriver.cpp: At global scope:
calcdriver.cpp:1001:5: error: ‘ServerPollingMgr’ has not been declared
 int ServerPollingMgr::ReadClientState(bool RdPoll_)
     ^
calcdriver.cpp: In function ‘int ReadClientState(bool)’:
calcdriver.cpp:1003:42: error: ‘DELAY_MULT’ was not declared in this scope
   int DelayLen_ = IOSTATE_DELAY_LENGTH * DELAY_MULT;
                                          ^
calcdriver.cpp:1004:18: error: ‘LOOP_GUARD_LIMIT’ was not declared in this scope
   int LoopMax_ = LOOP_GUARD_LIMIT;
                  ^
calcdriver.cpp:1015:20: error: ‘_Parent’ was not declared in this scope
     FILE* Pfptr_ = _Parent->GetPollStateFile(READ, true);
                    ^
calcdriver.cpp:1015:46: error: ‘READ’ was not declared in this scope
     FILE* Pfptr_ = _Parent->GetPollStateFile(READ, true);
                                              ^
calcdriver.cpp:1033:14: error: ‘_StrBuffer’ was not declared in this scope
     ::memset(_StrBuffer, 0, BUFSIZE);
              ^
calcdriver.cpp:1033:29: error: ‘BUFSIZE’ was not declared in this scope
     ::memset(_StrBuffer, 0, BUFSIZE);
                             ^
calcdriver.cpp:1054:7: error: ‘_PollState’ was not declared in this scope
       _PollState = atoi(testp);
       ^
calcdriver.cpp:1062:14: error: ‘_StrBuffer’ was not declared in this scope
     ::memset(_StrBuffer, 0, BUFSIZE);
              ^
calcdriver.cpp:1062:29: error: ‘BUFSIZE’ was not declared in this scope
     ::memset(_StrBuffer, 0, BUFSIZE);
                             ^
calcdriver.cpp:1083:7: error: ‘_ClientState’ was not declared in this scope
       _ClientState = atoi(testp);
       ^
calcdriver.cpp:1094:10: error: ‘_ClientState’ was not declared in this scope
   return _ClientState;
          ^
calcdriver.cpp: At global scope:
calcdriver.cpp:1098:5: error: ‘ServerPollingMgr’ has not been declared
 int ServerPollingMgr::ReadClientState()
     ^
calcdriver.cpp:1104:6: error: ‘ServerPollingMgr’ has not been declared
 void ServerPollingMgr::ReadAllStates(int Sleep_)
      ^
calcdriver.cpp: In function ‘void ReadAllStates(int)’:
calcdriver.cpp:1107:42: error: ‘DELAY_MULT’ was not declared in this scope
   int DelayLen_ = IOSTATE_DELAY_LENGTH * DELAY_MULT;
                                          ^
calcdriver.cpp:1108:24: error: ‘_PollState’ was not declared in this scope
   int PrevPollState_ = _PollState;
                        ^
calcdriver.cpp:1110:18: error: ‘LOOP_GUARD_LIMIT’ was not declared in this scope
   int LoopMax_ = LOOP_GUARD_LIMIT;
                  ^
calcdriver.cpp:1124:20: error: ‘_Parent’ was not declared in this scope
     FILE* Pfptr_ = _Parent->GetPollStateFile(READ, true);
                    ^
calcdriver.cpp:1124:46: error: ‘READ’ was not declared in this scope
     FILE* Pfptr_ = _Parent->GetPollStateFile(READ, true);
                                              ^
calcdriver.cpp:1150:16: error: ‘_StrBuffer’ was not declared in this scope
       ::memset(_StrBuffer, 0, BUFSIZE);
                ^
calcdriver.cpp:1150:31: error: ‘BUFSIZE’ was not declared in this scope
       ::memset(_StrBuffer, 0, BUFSIZE);
                               ^
calcdriver.cpp:1177:21: error: ‘_SleepWaiting’ was not declared in this scope
         Sleep_ && (!_SleepWaiting || WaitingForServerResponse()))
                     ^
calcdriver.cpp:1177:63: error: too few arguments to function ‘bool WaitingForServerResponse(bool*)’
         Sleep_ && (!_SleepWaiting || WaitingForServerResponse()))
                                                               ^
calcdriver.cpp:721:6: note: declared here
 bool ServerPollingMgr::WaitingForServerResponse(bool* FromClt_)
      ^
calcdriver.cpp:1204:14: error: ‘_StrBuffer’ was not declared in this scope
     ::memset(_StrBuffer, 0, BUFSIZE);
              ^
calcdriver.cpp:1204:29: error: ‘BUFSIZE’ was not declared in this scope
     ::memset(_StrBuffer, 0, BUFSIZE);
                             ^
calcdriver.cpp:1225:7: error: ‘_ServerState’ was not declared in this scope
       _ServerState = atoi(testp);
       ^
calcdriver.cpp:1230:7: error: ‘_RetrievedCycle’ was not declared in this scope
       _RetrievedCycle = testp ? atoi(testp):0;
       ^
calcdriver.cpp:1233:7: error: ‘_RetrievedCycle’ was not declared in this scope
       _RetrievedCycle = 0;
       ^
calcdriver.cpp:1236:7: error: ‘_RdClientPoll’ was not declared in this scope
   if (_RdClientPoll)
       ^
calcdriver.cpp: At global scope:
calcdriver.cpp:1250:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::SetPollState(int State_)
      ^
calcdriver.cpp: In function ‘bool SetPollState(int)’:
calcdriver.cpp:1256:19: error: ‘_Parent’ was not declared in this scope
     FILE* Fptr_ = _Parent->GetPollStateFile(WRITE);
                   ^
calcdriver.cpp:1256:45: error: ‘WRITE’ was not declared in this scope
     FILE* Fptr_ = _Parent->GetPollStateFile(WRITE);
                                             ^
calcdriver.cpp:1261:50: error: ‘IncCycleNum’ was not declared in this scope
     fprintf(Fptr_, "%d\n%d", State_, IncCycleNum());
                                                  ^
calcdriver.cpp: At global scope:
calcdriver.cpp:1282:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::SetClientState(int State_)
      ^
calcdriver.cpp: In function ‘bool SetClientState(int)’:
calcdriver.cpp:1288:19: error: ‘_Parent’ was not declared in this scope
     FILE* Fptr_ = _Parent->GetClientAliveFile(WRITE);
                   ^
calcdriver.cpp:1288:47: error: ‘WRITE’ was not declared in this scope
     FILE* Fptr_ = _Parent->GetClientAliveFile(WRITE);
                                               ^
calcdriver.cpp:1293:50: error: ‘IncCycleNum’ was not declared in this scope
     fprintf(Fptr_, "%d\n%d", State_, IncCycleNum());
                                                  ^
calcdriver.cpp: At global scope:
calcdriver.cpp:1314:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::SetServerState(int State_)
      ^
calcdriver.cpp: In function ‘bool SetServerState(int)’:
calcdriver.cpp:1320:19: error: ‘_Parent’ was not declared in this scope
     FILE* Fptr_ = _Parent->GetServerAliveFile(WRITE);
                   ^
calcdriver.cpp:1320:47: error: ‘WRITE’ was not declared in this scope
     FILE* Fptr_ = _Parent->GetServerAliveFile(WRITE);
                                               ^
calcdriver.cpp:1325:50: error: ‘IncCycleNum’ was not declared in this scope
     fprintf(Fptr_, "%d\n%d", State_, IncCycleNum());
                                                  ^
calcdriver.cpp: At global scope:
calcdriver.cpp:1346:6: error: ‘ServerPollingMgr’ has not been declared
 void ServerPollingMgr::ResetPollingVars()
      ^
calcdriver.cpp: In function ‘void ResetPollingVars()’:
calcdriver.cpp:1352:20: error: ‘ResetPollCount’ was not declared in this scope
     ResetPollCount();
                    ^
calcdriver.cpp:1355:3: error: ‘_KeepAlivePollError’ was not declared in this scope
   _KeepAlivePollError = false;
   ^
calcdriver.cpp:1356:3: error: ‘_ConfirmedServerAlive’ was not declared in this scope
   _ConfirmedServerAlive = false;
   ^
calcdriver.cpp:1358:7: error: ‘_ServerAliveConfSent’ was not declared in this scope
   if (_ServerAliveConfSent)
       ^
calcdriver.cpp:1363:7: error: ‘_Parent’ was not declared in this scope
       _Parent->SendServerAlive(false);
       ^
calcdriver.cpp: At global scope:
calcdriver.cpp:1375:6: error: ‘ServerPollingMgr’ has not been declared
 void ServerPollingMgr::AcceptPollCycle()
      ^
calcdriver.cpp: In function ‘void AcceptPollCycle()’:
calcdriver.cpp:1381:3: error: ‘_CycleActive’ was not declared in this scope
   _CycleActive = true;
   ^
calcdriver.cpp:1382:3: error: ‘_CycleNum’ was not declared in this scope
   _CycleNum = _RetrievedCycle;
   ^
calcdriver.cpp:1382:15: error: ‘_RetrievedCycle’ was not declared in this scope
   _CycleNum = _RetrievedCycle;
               ^
calcdriver.cpp: At global scope:
calcdriver.cpp:1392:6: error: ‘ServerPollingMgr’ has not been declared
 void ServerPollingMgr::ResetPollCycle()
      ^
calcdriver.cpp: In function ‘void ResetPollCycle()’:
calcdriver.cpp:1394:3: error: ‘_CycleActive’ was not declared in this scope
   _CycleActive = false;
   ^
calcdriver.cpp: At global scope:
calcdriver.cpp:1398:6: error: ‘ServerPollingMgr’ has not been declared
 void ServerPollingMgr::SetNewPollCycle()
      ^
calcdriver.cpp: In function ‘void SetNewPollCycle()’:
calcdriver.cpp:1404:8: error: ‘_CycleActive’ was not declared in this scope
   if (!_CycleActive)
        ^
calcdriver.cpp:1407:5: error: ‘_CycleNum’ was not declared in this scope
     _CycleNum++;
     ^
calcdriver.cpp: At global scope:
calcdriver.cpp:1418:5: error: ‘ServerPollingMgr’ has not been declared
 int ServerPollingMgr::IncCycleNum()
     ^
calcdriver.cpp: In function ‘int IncCycleNum()’:
calcdriver.cpp:1420:8: error: ‘_CycleActive’ was not declared in this scope
   if (!_CycleActive)
        ^
calcdriver.cpp:1423:10: error: ‘_CycleNum’ was not declared in this scope
   return _CycleNum;
          ^
calcdriver.cpp: At global scope:
calcdriver.cpp:1427:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::IsServerAliveStates(int State_)
      ^
calcdriver.cpp: In function ‘bool IsServerAliveStates(int)’:
calcdriver.cpp:1431:15: error: ‘POLL_CLIENTALIVE’ is not a member of ‘Mcalc_KeepAliveState’
     State_ == Mcalc_KeepAliveState::POLL_CLIENTALIVE ||
               ^
calcdriver.cpp:1432:15: error: ‘SERVER_ALIVE’ is not a member of ‘Mcalc_KeepAliveState’
     State_ == Mcalc_KeepAliveState::SERVER_ALIVE
               ^
calcdriver.cpp: At global scope:
calcdriver.cpp:1437:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::IsClientAliveStates(int State_)
      ^
calcdriver.cpp: In function ‘bool IsClientAliveStates(int)’:
calcdriver.cpp:1441:15: error: ‘CLIENT_ALIVE’ is not a member of ‘Mcalc_KeepAliveState’
     State_ == Mcalc_KeepAliveState::CLIENT_ALIVE ||
               ^
calcdriver.cpp:1442:15: error: ‘POLL_SERVERALIVE’ is not a member of ‘Mcalc_KeepAliveState’
     State_ == Mcalc_KeepAliveState::POLL_SERVERALIVE
               ^
calcdriver.cpp: At global scope:
calcdriver.cpp:1447:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::SendPollServerSignal()
      ^
calcdriver.cpp: In function ‘bool SendPollServerSignal()’:
calcdriver.cpp:1453:18: error: ‘_Parent’ was not declared in this scope
   int IoState_ = _Parent->SetNoPolling(true)
                  ^
calcdriver.cpp:1455:20: error: ‘_ServerPollProcess’ was not declared in this scope
   bool Required_ = _ServerPollProcess == REQUIRED;
                    ^
calcdriver.cpp:1455:42: error: ‘REQUIRED’ was not declared in this scope
   bool Required_ = _ServerPollProcess == REQUIRED;
                                          ^
calcdriver.cpp:1459:52: error: ‘WRITE’ was not declared in this scope
   if (DoPollServer_ && _Parent->GetClientAliveFile(WRITE))
                                                    ^
calcdriver.cpp:1463:5: error: ‘_ClientState’ was not declared in this scope
     _ClientState = Mcalc_KeepAliveState::POLL_SERVERALIVE;
     ^
calcdriver.cpp:1463:20: error: ‘POLL_SERVERALIVE’ is not a member of ‘Mcalc_KeepAliveState’
     _ClientState = Mcalc_KeepAliveState::POLL_SERVERALIVE;
                    ^
calcdriver.cpp:1464:26: error: ‘INPROCESS’ was not declared in this scope
     _ServerPollProcess = INPROCESS;
                          ^
calcdriver.cpp:1472:7: error: ‘_PollState’ was not declared in this scope
       _PollState = Mcalc_PollState::CLIENT_TO_SERVER;
       ^
calcdriver.cpp:1472:20: error: ‘Mcalc_PollState’ has not been declared
       _PollState = Mcalc_PollState::CLIENT_TO_SERVER;
                    ^
calcdriver.cpp: At global scope:
calcdriver.cpp:1497:6: error: ‘ServerPollingMgr’ has not been declared
 void ServerPollingMgr::ConfirmServerAlive(bool ClientReceive_)
      ^
calcdriver.cpp: In function ‘void ConfirmServerAlive(bool)’:
calcdriver.cpp:1499:3: error: ‘_RetryPollCount’ was not declared in this scope
   _RetryPollCount = 0;
   ^
calcdriver.cpp:1500:3: error: ‘_KeepAlivePollError’ was not declared in this scope
   _KeepAlivePollError = false;
   ^
calcdriver.cpp:1501:3: error: ‘_ConfirmedServerAlive’ was not declared in this scope
   _ConfirmedServerAlive = ClientReceive_ ? ServerAcked():ServerIsAlive();
   ^
calcdriver.cpp: At global scope:
calcdriver.cpp:1505:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::SendClientAckServerSignal()
      ^
calcdriver.cpp: In function ‘bool SendClientAckServerSignal()’:
calcdriver.cpp:1511:18: error: ‘_Parent’ was not declared in this scope
   int IoState_ = _Parent->SetNoPolling(true)
                  ^
calcdriver.cpp:1514:37: error: ‘PollServerInProcess’ was not declared in this scope
                 PollServerInProcess() && _ConfirmedServerAlive;
                                     ^
calcdriver.cpp:1514:42: error: ‘_ConfirmedServerAlive’ was not declared in this scope
                 PollServerInProcess() && _ConfirmedServerAlive;
                                          ^
calcdriver.cpp:1516:45: error: ‘WRITE’ was not declared in this scope
   if (DoAck_ && _Parent->GetClientAliveFile(WRITE))
                                             ^
calcdriver.cpp:1518:5: error: ‘_ClientState’ was not declared in this scope
     _ClientState = Mcalc_KeepAliveState::CLIENT_ACKNOWLEDGED;
     ^
calcdriver.cpp:1519:5: error: ‘_ServerPollProcess’ was not declared in this scope
     _ServerPollProcess = INPROCESS;
     ^
calcdriver.cpp:1519:26: error: ‘INPROCESS’ was not declared in this scope
     _ServerPollProcess = INPROCESS;
                          ^
calcdriver.cpp:1527:7: error: ‘_PollState’ was not declared in this scope
       _PollState = Mcalc_PollState::CLIENT_TO_SERVER;
       ^
calcdriver.cpp:1527:20: error: ‘Mcalc_PollState’ has not been declared
       _PollState = Mcalc_PollState::CLIENT_TO_SERVER;
                    ^
calcdriver.cpp: At global scope:
calcdriver.cpp:1552:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ResetPolling()
      ^
calcdriver.cpp: In function ‘bool ResetPolling()’:
calcdriver.cpp:1558:18: error: ‘_Parent’ was not declared in this scope
   int IoState_ = _Parent->SetNoPolling(true)
                  ^
calcdriver.cpp:1561:39: error: ‘PollServerInProcess’ was not declared in this scope
                   PollServerInProcess() && _ConfirmedServerAlive;
                                       ^
calcdriver.cpp:1561:44: error: ‘_ConfirmedServerAlive’ was not declared in this scope
                   PollServerInProcess() && _ConfirmedServerAlive;
                                            ^
calcdriver.cpp:1563:47: error: ‘WRITE’ was not declared in this scope
   if (DoReset_ && _Parent->GetClientAliveFile(WRITE))
                                               ^
calcdriver.cpp:1566:5: error: ‘_KeepAlivePollError’ was not declared in this scope
     _KeepAlivePollError = false;
     ^
calcdriver.cpp:1568:5: error: ‘_ClientState’ was not declared in this scope
     _ClientState = Mcalc_KeepAliveState::IDLE;
     ^
calcdriver.cpp:1568:20: error: ‘IDLE’ is not a member of ‘Mcalc_KeepAliveState’
     _ClientState = Mcalc_KeepAliveState::IDLE;
                    ^
calcdriver.cpp:1569:5: error: ‘_ServerPollProcess’ was not declared in this scope
     _ServerPollProcess = COMPLETED;
     ^
calcdriver.cpp:1569:26: error: ‘COMPLETED’ was not declared in this scope
     _ServerPollProcess = COMPLETED;
                          ^
calcdriver.cpp:1577:7: error: ‘_PollState’ was not declared in this scope
       _PollState = Mcalc_KeepAliveState::IDLE;
       ^
calcdriver.cpp:1577:20: error: ‘IDLE’ is not a member of ‘Mcalc_KeepAliveState’
       _PollState = Mcalc_KeepAliveState::IDLE;
                    ^
calcdriver.cpp:1590:46: error: ‘_ConfirmedClientAlive’ was not declared in this scope
       bool Alive_ = _ConfirmedServerAlive && _ConfirmedClientAlive;
                                              ^
calcdriver.cpp:1593:12: error: ‘_ServerAliveConfSent’ was not declared in this scope
       if (!_ServerAliveConfSent)
            ^
calcdriver.cpp: At global scope:
calcdriver.cpp:1619:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::SendClientAliveSignal()
      ^
calcdriver.cpp: In function ‘bool SendClientAliveSignal()’:
calcdriver.cpp:1625:7: error: ‘_RdClientPoll’ was not declared in this scope
   if (_RdClientPoll)
       ^
calcdriver.cpp:1626:27: error: too few arguments to function ‘int ReadClientPollProcess(bool)’
     ReadClientPollProcess();
                           ^
calcdriver.cpp:802:5: note: declared here
 int ServerPollingMgr::ReadClientPollProcess(bool RefreshStates_)
     ^
calcdriver.cpp:1628:18: error: ‘_Parent’ was not declared in this scope
   int IoState_ = _Parent->SetNoPolling(true)
                  ^
calcdriver.cpp:1630:20: error: ‘_ClientPollProcess’ was not declared in this scope
   bool Required_ = _ClientPollProcess == REQUIRED ||
                    ^
calcdriver.cpp:1630:42: error: ‘REQUIRED’ was not declared in this scope
   bool Required_ = _ClientPollProcess == REQUIRED ||
                                          ^
calcdriver.cpp:1631:43: error: too few arguments to function ‘bool ServerSetPollInProcess(bool*)’
                    ServerSetPollInProcess();
                                           ^
calcdriver.cpp:765:6: note: declared here
 bool ServerPollingMgr::ServerSetPollInProcess(bool* PollStateOk_) const
      ^
calcdriver.cpp:1635:51: error: ‘WRITE’ was not declared in this scope
   if (DoSendAlive_ && _Parent->GetClientAliveFile(WRITE))
                                                   ^
calcdriver.cpp:1637:5: error: ‘_KeepAlivePollError’ was not declared in this scope
     _KeepAlivePollError = false;
     ^
calcdriver.cpp:1638:5: error: ‘_ClientState’ was not declared in this scope
     _ClientState = Mcalc_KeepAliveState::CLIENT_ALIVE;
     ^
calcdriver.cpp:1638:20: error: ‘CLIENT_ALIVE’ is not a member of ‘Mcalc_KeepAliveState’
     _ClientState = Mcalc_KeepAliveState::CLIENT_ALIVE;
                    ^
calcdriver.cpp:1639:26: error: ‘INPROCESS’ was not declared in this scope
     _ClientPollProcess = INPROCESS;
                          ^
calcdriver.cpp:1647:7: error: ‘_PollState’ was not declared in this scope
       _PollState = Mcalc_PollState::CLIENT_RESPONSE;
       ^
calcdriver.cpp:1647:20: error: ‘Mcalc_PollState’ has not been declared
       _PollState = Mcalc_PollState::CLIENT_RESPONSE;
                    ^
calcdriver.cpp: At global scope:
calcdriver.cpp:1676:6: error: ‘ServerPollingMgr’ has not been declared
 void ServerPollingMgr::ConfirmClientAlive(bool PollServer_)
      ^
calcdriver.cpp: In function ‘void ConfirmClientAlive(bool)’:
calcdriver.cpp:1678:3: error: ‘_KeepAlivePollError’ was not declared in this scope
   _KeepAlivePollError = false;
   ^
calcdriver.cpp:1679:3: error: ‘_ConfirmedClientAlive’ was not declared in this scope
   _ConfirmedClientAlive = PollServer_ ? ServerIsAlive():ClientIsAlive();
   ^
calcdriver.cpp: At global scope:
calcdriver.cpp:1683:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::SendResetPollingSignal()
      ^
calcdriver.cpp: In function ‘bool SendResetPollingSignal()’:
calcdriver.cpp:1689:18: error: ‘_Parent’ was not declared in this scope
   int IoState_ = _Parent->SetNoPolling(true)
                  ^
calcdriver.cpp:1692:42: error: ‘ClientReceiveInProcess’ was not declared in this scope
                   ClientReceiveInProcess() && _ConfirmedClientAlive;
                                          ^
calcdriver.cpp:1692:47: error: ‘_ConfirmedClientAlive’ was not declared in this scope
                   ClientReceiveInProcess() && _ConfirmedClientAlive;
                                               ^
calcdriver.cpp:1694:47: error: ‘WRITE’ was not declared in this scope
   if (DoReset_ && _Parent->GetClientAliveFile(WRITE))
                                               ^
calcdriver.cpp:1697:5: error: ‘_KeepAlivePollError’ was not declared in this scope
     _KeepAlivePollError = false;
     ^
calcdriver.cpp:1699:5: error: ‘_ClientState’ was not declared in this scope
     _ClientState = Mcalc_KeepAliveState::RESET_POLLING;
     ^
calcdriver.cpp:1699:20: error: ‘RESET_POLLING’ is not a member of ‘Mcalc_KeepAliveState’
     _ClientState = Mcalc_KeepAliveState::RESET_POLLING;
                    ^
calcdriver.cpp:1700:5: error: ‘_ClientPollProcess’ was not declared in this scope
     _ClientPollProcess = COMPLETED;
     ^
calcdriver.cpp:1700:26: error: ‘COMPLETED’ was not declared in this scope
     _ClientPollProcess = COMPLETED;
                          ^
calcdriver.cpp:1708:7: error: ‘_PollState’ was not declared in this scope
       _PollState = Mcalc_PollState::CLIENT_RESPONSE;
       ^
calcdriver.cpp:1708:20: error: ‘Mcalc_PollState’ has not been declared
       _PollState = Mcalc_PollState::CLIENT_RESPONSE;
                    ^
calcdriver.cpp:1721:21: error: ‘_ConfirmedServerAlive’ was not declared in this scope
       bool Alive_ = _ConfirmedServerAlive && _ConfirmedClientAlive;
                     ^
calcdriver.cpp:1724:12: error: ‘_ServerAliveConfSent’ was not declared in this scope
       if (!_ServerAliveConfSent)
            ^
calcdriver.cpp: At global scope:
calcdriver.cpp:1750:1: error: ‘ServerPollingMgr’ does not name a type
 ServerPollingMgr* ServerPollingMgr::ResetWhenNotRequired(bool Forced_)
 ^
calcdriver.cpp:1763:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::PollServerRequired(int Sleep_, bool ResponseOnly_)
      ^
calcdriver.cpp: In function ‘bool PollServerRequired(int, bool)’:
calcdriver.cpp:1772:23: error: ‘_Parent’ was not declared in this scope
   bool BreakOrQuit_ = _Parent->QuitAll() || _Parent->BreakAll();
                       ^
calcdriver.cpp:1773:26: error: ‘_PollState’ was not declared in this scope
   bool ServerResponse_ = _PollState == Mcalc_PollState::SERVER_RESPONSE;
                          ^
calcdriver.cpp:1773:40: error: ‘Mcalc_PollState’ has not been declared
   bool ServerResponse_ = _PollState == Mcalc_PollState::SERVER_RESPONSE;
                                        ^
calcdriver.cpp:1775:22: error: ‘_AllowPollServer’ was not declared in this scope
   bool Required_ = ((_AllowPollServer && !ResponseOnly_) ||
                      ^
calcdriver.cpp:1776:53: error: ‘_KeepAlivePollError’ was not declared in this scope
                     ServerResponse_ || ResetReq_ || _KeepAlivePollError);
                                                     ^
calcdriver.cpp:1790:7: error: ‘_ServerPollProcess’ was not declared in this scope
   if (_ServerPollProcess == INITIALSTATE ||
       ^
calcdriver.cpp:1790:29: error: ‘INITIALSTATE’ was not declared in this scope
   if (_ServerPollProcess == INITIALSTATE ||
                             ^
calcdriver.cpp:1791:29: error: ‘COMPLETED’ was not declared in this scope
       _ServerPollProcess == COMPLETED)
                             ^
calcdriver.cpp:1792:48: error: ‘NOTREQUIRED’ was not declared in this scope
     _ServerPollProcess = _KeepAlivePollError ? NOTREQUIRED:
                                                ^
calcdriver.cpp:1794:48: error: ‘REQUIRED’ was not declared in this scope
                          Required_           ? REQUIRED:NOTREQUIRED;
                                                ^
calcdriver.cpp:1796:26: error: ‘NOTREQUIRED’ was not declared in this scope
     _ServerPollProcess = NOTREQUIRED;
                          ^
calcdriver.cpp:1800:18: error: ‘_ServerPollProcess’ was not declared in this scope
   bool retval = (_ServerPollProcess == REQUIRED ||
                  ^
calcdriver.cpp:1800:40: error: ‘REQUIRED’ was not declared in this scope
   bool retval = (_ServerPollProcess == REQUIRED ||
                                        ^
calcdriver.cpp:1801:41: error: ‘INPROCESS’ was not declared in this scope
                  (_ServerPollProcess == INPROCESS && !_KeepAlivePollError));
                                         ^
calcdriver.cpp:1836:9: error: ‘_ResetWhenNotReq’ was not declared in this scope
     if (_ResetWhenNotReq && _ServerPollProcess == NOTREQUIRED)
         ^
calcdriver.cpp:1836:51: error: ‘NOTREQUIRED’ was not declared in this scope
     if (_ResetWhenNotReq && _ServerPollProcess == NOTREQUIRED)
                                                   ^
calcdriver.cpp:1841:26: error: ‘_ForceReset’ was not declared in this scope
       ResetServerPolling(_ForceReset);
                          ^
calcdriver.cpp:1841:37: error: ‘ResetServerPolling’ was not declared in this scope
       ResetServerPolling(_ForceReset);
                                     ^
calcdriver.cpp: At global scope:
calcdriver.cpp:1850:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::PollServerNotRequired(bool InclAtInitial_)
      ^
calcdriver.cpp: In function ‘bool PollServerNotRequired(bool)’:
calcdriver.cpp:1852:7: error: ‘_RdClientPoll’ was not declared in this scope
   if (_RdClientPoll)
       ^
calcdriver.cpp:1855:12: error: ‘_ServerPollProcess’ was not declared in this scope
   return ((_ServerPollProcess == NOTREQUIRED ||
            ^
calcdriver.cpp:1855:34: error: ‘NOTREQUIRED’ was not declared in this scope
   return ((_ServerPollProcess == NOTREQUIRED ||
                                  ^
calcdriver.cpp:1856:35: error: ‘INITIALSTATE’ was not declared in this scope
            (_ServerPollProcess == INITIALSTATE && InclAtInitial_)) && !_KeepAlivePollError);
                                   ^
calcdriver.cpp:1856:72: error: ‘_KeepAlivePollError’ was not declared in this scope
            (_ServerPollProcess == INITIALSTATE && InclAtInitial_)) && !_KeepAlivePollError);
                                                                        ^
calcdriver.cpp: At global scope:
calcdriver.cpp:1860:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::PollServerInProcess()
      ^
calcdriver.cpp: In function ‘bool PollServerInProcess()’:
calcdriver.cpp:1862:7: error: ‘_RdClientPoll’ was not declared in this scope
   if (_RdClientPoll)
       ^
calcdriver.cpp:1865:11: error: ‘_ServerPollProcess’ was not declared in this scope
   return (_ServerPollProcess == INPROCESS && !_KeepAlivePollError);
           ^
calcdriver.cpp:1865:33: error: ‘INPROCESS’ was not declared in this scope
   return (_ServerPollProcess == INPROCESS && !_KeepAlivePollError);
                                 ^
calcdriver.cpp:1865:47: error: ‘_KeepAlivePollError’ was not declared in this scope
   return (_ServerPollProcess == INPROCESS && !_KeepAlivePollError);
                                               ^
calcdriver.cpp: At global scope:
calcdriver.cpp:1869:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::PollServerCompleted_IMPL(bool InclNotReq_, bool InclPrev_)
      ^
calcdriver.cpp: In function ‘bool PollServerCompleted_IMPL(bool, bool)’:
calcdriver.cpp:1878:23: error: ‘_Parent’ was not declared in this scope
   bool BreakOrQuit_ = _Parent->QuitAll() || _Parent->BreakAll();
                       ^
calcdriver.cpp:1880:7: error: ‘_RdClientPoll’ was not declared in this scope
   if (_RdClientPoll)
       ^
calcdriver.cpp:1883:7: error: ‘_ResetStatesOnDone’ was not declared in this scope
   if (_ResetStatesOnDone && InclPrev_)
       ^
calcdriver.cpp:1885:18: error: ‘_ServerPollProcess’ was not declared in this scope
     ResetCond_ = _ServerPollProcess == INITIALSTATE;
                  ^
calcdriver.cpp:1885:40: error: ‘INITIALSTATE’ was not declared in this scope
     ResetCond_ = _ServerPollProcess == INITIALSTATE;
                                        ^
calcdriver.cpp:1886:19: error: ‘_PrevServerProcess’ was not declared in this scope
     PrevCond_ = ((_PrevServerProcess == COMPLETED ||
                   ^
calcdriver.cpp:1886:41: error: ‘COMPLETED’ was not declared in this scope
     PrevCond_ = ((_PrevServerProcess == COMPLETED ||
                                         ^
calcdriver.cpp:1887:42: error: ‘NOTREQUIRED’ was not declared in this scope
                   (_PrevServerProcess == NOTREQUIRED && InclNotReq_)) && !_KeepAlivePollError);
                                          ^
calcdriver.cpp:1887:75: error: ‘_KeepAlivePollError’ was not declared in this scope
                   (_PrevServerProcess == NOTREQUIRED && InclNotReq_)) && !_KeepAlivePollError);
                                                                           ^
calcdriver.cpp:1890:5: error: ‘_ServerPollProcess’ was not declared in this scope
     _ServerPollProcess = COMPLETED;
     ^
calcdriver.cpp:1890:26: error: ‘COMPLETED’ was not declared in this scope
     _ServerPollProcess = COMPLETED;
                          ^
calcdriver.cpp:1892:17: error: ‘_ServerPollProcess’ was not declared in this scope
   CurrCond_ = ((_ServerPollProcess == COMPLETED ||
                 ^
calcdriver.cpp:1892:39: error: ‘COMPLETED’ was not declared in this scope
   CurrCond_ = ((_ServerPollProcess == COMPLETED ||
                                       ^
calcdriver.cpp:1893:40: error: ‘NOTREQUIRED’ was not declared in this scope
                 (_ServerPollProcess == NOTREQUIRED && InclNotReq_)) && !_KeepAlivePollError);
                                        ^
calcdriver.cpp:1893:73: error: ‘_KeepAlivePollError’ was not declared in this scope
                 (_ServerPollProcess == NOTREQUIRED && InclNotReq_)) && !_KeepAlivePollError);
                                                                         ^
calcdriver.cpp:1908:27: error: ‘_ResetStatesOnDone’ was not declared in this scope
     return (CurrCond_ || (_ResetStatesOnDone && ResetCond_ && PrevCond_));
                           ^
calcdriver.cpp: At global scope:
calcdriver.cpp:1913:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::PollServerCompleted(bool InclNotReq_)
      ^
calcdriver.cpp:1919:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ClientReceiveRequired(int Sleep_)
      ^
calcdriver.cpp: In function ‘bool ClientReceiveRequired(int)’:
calcdriver.cpp:1928:23: error: ‘_Parent’ was not declared in this scope
   bool BreakOrQuit_ = _Parent->QuitAll() || _Parent->BreakAll();
                       ^
calcdriver.cpp:1929:26: error: ‘_PollState’ was not declared in this scope
   bool ServerToClient_ = _PollState == Mcalc_PollState::SERVER_TO_CLIENT;
                          ^
calcdriver.cpp:1929:40: error: ‘Mcalc_PollState’ has not been declared
   bool ServerToClient_ = _PollState == Mcalc_PollState::SERVER_TO_CLIENT;
                                        ^
calcdriver.cpp:1930:25: error: ‘_ServerState’ was not declared in this scope
   bool ServerPolling_ = _ServerState == Mcalc_KeepAliveState::POLL_CLIENTALIVE;
                         ^
calcdriver.cpp:1930:41: error: ‘POLL_CLIENTALIVE’ is not a member of ‘Mcalc_KeepAliveState’
   bool ServerPolling_ = _ServerState == Mcalc_KeepAliveState::POLL_CLIENTALIVE;
                                         ^
calcdriver.cpp:1934:24: error: ‘_ClientState’ was not declared in this scope
                      (!_ClientState ||
                        ^
calcdriver.cpp:1935:39: error: ‘RESET_POLLING’ is not a member of ‘Mcalc_KeepAliveState’
                       _ClientState == Mcalc_KeepAliveState::RESET_POLLING));
                                       ^
calcdriver.cpp:1946:7: error: ‘_ClientPollProcess’ was not declared in this scope
   if (_ClientPollProcess == INITIALSTATE ||
       ^
calcdriver.cpp:1946:29: error: ‘INITIALSTATE’ was not declared in this scope
   if (_ClientPollProcess == INITIALSTATE ||
                             ^
calcdriver.cpp:1947:29: error: ‘COMPLETED’ was not declared in this scope
       _ClientPollProcess == COMPLETED ||
                             ^
calcdriver.cpp:1948:30: error: too few arguments to function ‘bool ServerSetPollInProcess(bool*)’
       ServerSetPollInProcess())
                              ^
calcdriver.cpp:765:6: note: declared here
 bool ServerPollingMgr::ServerSetPollInProcess(bool* PollStateOk_) const
      ^
calcdriver.cpp:1950:39: error: ‘REQUIRED’ was not declared in this scope
                          Required_  ? REQUIRED:NOTREQUIRED;
                                       ^
calcdriver.cpp:1950:48: error: ‘NOTREQUIRED’ was not declared in this scope
                          Required_  ? REQUIRED:NOTREQUIRED;
                                                ^
calcdriver.cpp:1954:17: error: ‘_ClientPollProcess’ was not declared in this scope
   bool retval = _ClientPollProcess != COMPLETED &&
                 ^
calcdriver.cpp:1954:39: error: ‘COMPLETED’ was not declared in this scope
   bool retval = _ClientPollProcess != COMPLETED &&
                                       ^
calcdriver.cpp:1955:40: error: ‘REQUIRED’ was not declared in this scope
                 (_ClientPollProcess == REQUIRED || ServerSetPollInProcess() ||
                                        ^
calcdriver.cpp:1955:75: error: too few arguments to function ‘bool ServerSetPollInProcess(bool*)’
                 (_ClientPollProcess == REQUIRED || ServerSetPollInProcess() ||
                                                                           ^
calcdriver.cpp:765:6: note: declared here
 bool ServerPollingMgr::ServerSetPollInProcess(bool* PollStateOk_) const
      ^
calcdriver.cpp:1956:41: error: ‘INPROCESS’ was not declared in this scope
                  (_ClientPollProcess == INPROCESS && !_KeepAlivePollError));
                                         ^
calcdriver.cpp:1956:55: error: ‘_KeepAlivePollError’ was not declared in this scope
                  (_ClientPollProcess == INPROCESS && !_KeepAlivePollError));
                                                       ^
calcdriver.cpp:1988:9: error: ‘_ResetWhenNotReq’ was not declared in this scope
     if (_ResetWhenNotReq && _ClientPollProcess == NOTREQUIRED)
         ^
calcdriver.cpp:1988:51: error: ‘NOTREQUIRED’ was not declared in this scope
     if (_ResetWhenNotReq && _ClientPollProcess == NOTREQUIRED)
                                                   ^
calcdriver.cpp:1993:24: error: ‘_ForceReset’ was not declared in this scope
       ResetReceivePoll(_ForceReset);
                        ^
calcdriver.cpp:1993:35: error: ‘ResetReceivePoll’ was not declared in this scope
       ResetReceivePoll(_ForceReset);
                                   ^
calcdriver.cpp: At global scope:
calcdriver.cpp:2002:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ClientReceiveNotRequired(bool InclAtInitial_)
      ^
calcdriver.cpp: In function ‘bool ClientReceiveNotRequired(bool)’:
calcdriver.cpp:2004:7: error: ‘_RdClientPoll’ was not declared in this scope
   if (_RdClientPoll)
       ^
calcdriver.cpp:2007:12: error: ‘_ClientPollProcess’ was not declared in this scope
   return ((_ClientPollProcess == NOTREQUIRED ||
            ^
calcdriver.cpp:2007:34: error: ‘NOTREQUIRED’ was not declared in this scope
   return ((_ClientPollProcess == NOTREQUIRED ||
                                  ^
calcdriver.cpp:2008:35: error: ‘INITIALSTATE’ was not declared in this scope
            (_ClientPollProcess == INITIALSTATE && InclAtInitial_)) && !_KeepAlivePollError);
                                   ^
calcdriver.cpp:2008:72: error: ‘_KeepAlivePollError’ was not declared in this scope
            (_ClientPollProcess == INITIALSTATE && InclAtInitial_)) && !_KeepAlivePollError);
                                                                        ^
calcdriver.cpp: At global scope:
calcdriver.cpp:2012:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ClientReceiveInProcess()
      ^
calcdriver.cpp: In function ‘bool ClientReceiveInProcess()’:
calcdriver.cpp:2014:7: error: ‘_RdClientPoll’ was not declared in this scope
   if (_RdClientPoll)
       ^
calcdriver.cpp:2017:11: error: ‘_ClientPollProcess’ was not declared in this scope
   return (_ClientPollProcess == INPROCESS && !_KeepAlivePollError);
           ^
calcdriver.cpp:2017:33: error: ‘INPROCESS’ was not declared in this scope
   return (_ClientPollProcess == INPROCESS && !_KeepAlivePollError);
                                 ^
calcdriver.cpp:2017:47: error: ‘_KeepAlivePollError’ was not declared in this scope
   return (_ClientPollProcess == INPROCESS && !_KeepAlivePollError);
                                               ^
calcdriver.cpp: At global scope:
calcdriver.cpp:2021:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ClientReceiveCompleted_IMPL(bool InclNotReq_, bool InclPrev_)
      ^
calcdriver.cpp: In function ‘bool ClientReceiveCompleted_IMPL(bool, bool)’:
calcdriver.cpp:2030:23: error: ‘_Parent’ was not declared in this scope
   bool BreakOrQuit_ = _Parent->QuitAll() || _Parent->BreakAll();
                       ^
calcdriver.cpp:2032:7: error: ‘_RdClientPoll’ was not declared in this scope
   if (_RdClientPoll)
       ^
calcdriver.cpp:2035:7: error: ‘_ResetStatesOnDone’ was not declared in this scope
   if (_ResetStatesOnDone && InclPrev_)
       ^
calcdriver.cpp:2037:18: error: ‘_ClientPollProcess’ was not declared in this scope
     ResetCond_ = _ClientPollProcess == INITIALSTATE;
                  ^
calcdriver.cpp:2037:40: error: ‘INITIALSTATE’ was not declared in this scope
     ResetCond_ = _ClientPollProcess == INITIALSTATE;
                                        ^
calcdriver.cpp:2038:19: error: ‘_PrevClientProcess’ was not declared in this scope
     PrevCond_ = ((_PrevClientProcess == COMPLETED ||
                   ^
calcdriver.cpp:2038:41: error: ‘COMPLETED’ was not declared in this scope
     PrevCond_ = ((_PrevClientProcess == COMPLETED ||
                                         ^
calcdriver.cpp:2039:42: error: ‘NOTREQUIRED’ was not declared in this scope
                   (_PrevClientProcess == NOTREQUIRED && InclNotReq_)) && !_KeepAlivePollError);
                                          ^
calcdriver.cpp:2039:75: error: ‘_KeepAlivePollError’ was not declared in this scope
                   (_PrevClientProcess == NOTREQUIRED && InclNotReq_)) && !_KeepAlivePollError);
                                                                           ^
calcdriver.cpp:2042:5: error: ‘_ClientPollProcess’ was not declared in this scope
     _ClientPollProcess = COMPLETED;
     ^
calcdriver.cpp:2042:26: error: ‘COMPLETED’ was not declared in this scope
     _ClientPollProcess = COMPLETED;
                          ^
calcdriver.cpp:2044:17: error: ‘_ClientPollProcess’ was not declared in this scope
   CurrCond_ = ((_ClientPollProcess == COMPLETED ||
                 ^
calcdriver.cpp:2044:39: error: ‘COMPLETED’ was not declared in this scope
   CurrCond_ = ((_ClientPollProcess == COMPLETED ||
                                       ^
calcdriver.cpp:2045:40: error: ‘NOTREQUIRED’ was not declared in this scope
                 (_ClientPollProcess == NOTREQUIRED && InclNotReq_)) && !_KeepAlivePollError);
                                        ^
calcdriver.cpp:2045:73: error: ‘_KeepAlivePollError’ was not declared in this scope
                 (_ClientPollProcess == NOTREQUIRED && InclNotReq_)) && !_KeepAlivePollError);
                                                                         ^
calcdriver.cpp:2060:27: error: ‘_ResetStatesOnDone’ was not declared in this scope
     return (CurrCond_ || (_ResetStatesOnDone && ResetCond_ && PrevCond_));
                           ^
calcdriver.cpp: At global scope:
calcdriver.cpp:2065:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ClientReceiveCompleted(bool InclNotReq_)
      ^
calcdriver.cpp:2071:6: error: ‘ServerPollingMgr’ has not been declared
 void ServerPollingMgr::SetTrackingOnStateChange(bool Reset_)
      ^
calcdriver.cpp: In function ‘void SetTrackingOnStateChange(bool)’:
calcdriver.cpp:2075:7: error: ‘_RdClientPoll’ was not declared in this scope
   if (_RdClientPoll)
       ^
calcdriver.cpp:2076:27: error: too few arguments to function ‘int ReadClientPollProcess(bool)’
     ReadClientPollProcess();
                           ^
calcdriver.cpp:802:5: note: declared here
 int ServerPollingMgr::ReadClientPollProcess(bool RefreshStates_)
     ^
calcdriver.cpp:2078:7: error: ‘_Backup’ was not declared in this scope
   if (_Backup)
       ^
calcdriver.cpp:2082:40: error: ‘_ClientPollProcess’ was not declared in this scope
     if (_Backup->_ClientPollProcess != _ClientPollProcess)
                                        ^
calcdriver.cpp:2084:43: error: ‘NOTREQUIRED’ was not declared in this scope
       if (Reset_ && _ClientPollProcess == NOTREQUIRED)
                                           ^
calcdriver.cpp:2086:34: error: ‘ResetWhenNotRequired’ was not declared in this scope
         ResetWhenNotRequired(true);        
                                  ^
calcdriver.cpp:2094:28: error: ‘_ForceReset’ was not declared in this scope
           ResetReceivePoll(_ForceReset);
                            ^
calcdriver.cpp:2094:39: error: ‘ResetReceivePoll’ was not declared in this scope
           ResetReceivePoll(_ForceReset);
                                       ^
calcdriver.cpp:2097:17: error: ‘_ResetWhenNotReq’ was not declared in this scope
       else if (!_ResetWhenNotReq || _ClientPollProcess != NOTREQUIRED)
                 ^
calcdriver.cpp:2098:30: error: ‘SetStopTracking’ was not declared in this scope
         SetStopTracking(false);
                              ^
calcdriver.cpp:2106:48: error: ‘REQUIRED’ was not declared in this scope
       PollTestRetVal_ = (_ClientPollProcess == REQUIRED || ServerSetPollInProcess() ||
                                                ^
calcdriver.cpp:2106:83: error: too few arguments to function ‘bool ServerSetPollInProcess(bool*)’
       PollTestRetVal_ = (_ClientPollProcess == REQUIRED || ServerSetPollInProcess() ||
                                                                                   ^
calcdriver.cpp:765:6: note: declared here
 bool ServerPollingMgr::ServerSetPollInProcess(bool* PollStateOk_) const
      ^
calcdriver.cpp:2107:49: error: ‘INPROCESS’ was not declared in this scope
                          (_ClientPollProcess == INPROCESS && !_KeepAlivePollError));
                                                 ^
calcdriver.cpp:2107:63: error: ‘_KeepAlivePollError’ was not declared in this scope
                          (_ClientPollProcess == INPROCESS && !_KeepAlivePollError));
                                                               ^
calcdriver.cpp:2114:43: error: ‘NOTREQUIRED’ was not declared in this scope
       if (Reset_ && _ClientPollProcess == NOTREQUIRED)
                                           ^
calcdriver.cpp:2116:34: error: ‘ResetWhenNotRequired’ was not declared in this scope
         ResetWhenNotRequired(true);
                                  ^
calcdriver.cpp:2121:28: error: ‘_ForceReset’ was not declared in this scope
           ResetReceivePoll(_ForceReset);
                            ^
calcdriver.cpp:2121:39: error: ‘ResetReceivePoll’ was not declared in this scope
           ResetReceivePoll(_ForceReset);
                                       ^
calcdriver.cpp:2126:40: error: ‘_ServerPollProcess’ was not declared in this scope
     if (_Backup->_ServerPollProcess != _ServerPollProcess)
                                        ^
calcdriver.cpp:2128:43: error: ‘NOTREQUIRED’ was not declared in this scope
       if (Reset_ && _ServerPollProcess == NOTREQUIRED)
                                           ^
calcdriver.cpp:2130:34: error: ‘ResetWhenNotRequired’ was not declared in this scope
         ResetWhenNotRequired(true);
                                  ^
calcdriver.cpp:2138:30: error: ‘_ForceReset’ was not declared in this scope
           ResetServerPolling(_ForceReset);
                              ^
calcdriver.cpp:2138:41: error: ‘ResetServerPolling’ was not declared in this scope
           ResetServerPolling(_ForceReset);
                                         ^
calcdriver.cpp:2141:17: error: ‘_ResetWhenNotReq’ was not declared in this scope
       else if (!_ResetWhenNotReq || _ClientPollProcess != NOTREQUIRED)
                 ^
calcdriver.cpp:2141:37: error: ‘_ClientPollProcess’ was not declared in this scope
       else if (!_ResetWhenNotReq || _ClientPollProcess != NOTREQUIRED)
                                     ^
calcdriver.cpp:2142:30: error: ‘SetStopTracking’ was not declared in this scope
         SetStopTracking(false);
                              ^
calcdriver.cpp:2150:48: error: ‘REQUIRED’ was not declared in this scope
       PollTestRetVal_ = (_ServerPollProcess == REQUIRED ||
                                                ^
calcdriver.cpp:2151:49: error: ‘INPROCESS’ was not declared in this scope
                          (_ServerPollProcess == INPROCESS && !_KeepAlivePollError));
                                                 ^
calcdriver.cpp:2151:63: error: ‘_KeepAlivePollError’ was not declared in this scope
                          (_ServerPollProcess == INPROCESS && !_KeepAlivePollError));
                                                               ^
calcdriver.cpp:2158:43: error: ‘NOTREQUIRED’ was not declared in this scope
       if (Reset_ && _ServerPollProcess == NOTREQUIRED)
                                           ^
calcdriver.cpp:2160:34: error: ‘ResetWhenNotRequired’ was not declared in this scope
         ResetWhenNotRequired(true);
                                  ^
calcdriver.cpp:2165:30: error: ‘_ForceReset’ was not declared in this scope
           ResetServerPolling(_ForceReset);
                              ^
calcdriver.cpp:2165:41: error: ‘ResetServerPolling’ was not declared in this scope
           ResetServerPolling(_ForceReset);
                                         ^
calcdriver.cpp: At global scope:
calcdriver.cpp:2173:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ResetServerPolling(bool ForceReset_)
      ^
calcdriver.cpp: In function ‘bool ResetServerPolling(bool)’:
calcdriver.cpp:2179:18: error: ‘_Parent’ was not declared in this scope
   int IoState_ = _Parent->SetNoPolling(true)
                  ^
calcdriver.cpp:2182:49: error: ‘_ServerState’ was not declared in this scope
                            !IsServerAliveStates(_ServerState);
                                                 ^
calcdriver.cpp:2188:35: error: ‘WRITE’ was not declared in this scope
       _Parent->GetClientAliveFile(WRITE))
                                   ^
calcdriver.cpp:2195:5: error: ‘_KeepAlivePollError’ was not declared in this scope
     _KeepAlivePollError = false;
     ^
calcdriver.cpp:2197:5: error: ‘_ClientState’ was not declared in this scope
     _ClientState = Mcalc_KeepAliveState::IDLE;
     ^
calcdriver.cpp:2197:20: error: ‘IDLE’ is not a member of ‘Mcalc_KeepAliveState’
     _ClientState = Mcalc_KeepAliveState::IDLE;
                    ^
calcdriver.cpp:2198:5: error: ‘_PrevServerProcess’ was not declared in this scope
     _PrevServerProcess = _ServerPollProcess;
     ^
calcdriver.cpp:2198:26: error: ‘_ServerPollProcess’ was not declared in this scope
     _PrevServerProcess = _ServerPollProcess;
                          ^
calcdriver.cpp:2199:26: error: ‘INITIALSTATE’ was not declared in this scope
     _ServerPollProcess = INITIALSTATE;
                          ^
calcdriver.cpp:2203:7: error: ‘_PollState’ was not declared in this scope
       _PollState = Mcalc_KeepAliveState::IDLE;
       ^
calcdriver.cpp:2203:20: error: ‘IDLE’ is not a member of ‘Mcalc_KeepAliveState’
       _PollState = Mcalc_KeepAliveState::IDLE;
                    ^
calcdriver.cpp: At global scope:
calcdriver.cpp:2228:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ResetReceivePoll(bool ForceReset_)
      ^
calcdriver.cpp: In function ‘bool ResetReceivePoll(bool)’:
calcdriver.cpp:2239:5: error: ‘_ServerState’ was not declared in this scope
     _ServerState = Mcalc_KeepAliveState::IDLE;
     ^
calcdriver.cpp:2239:20: error: ‘IDLE’ is not a member of ‘Mcalc_KeepAliveState’
     _ServerState = Mcalc_KeepAliveState::IDLE;
                    ^
calcdriver.cpp:2241:5: error: ‘_PrevClientProcess’ was not declared in this scope
     _PrevClientProcess = _ClientPollProcess;
     ^
calcdriver.cpp:2241:26: error: ‘_ClientPollProcess’ was not declared in this scope
     _PrevClientProcess = _ClientPollProcess;
                          ^
calcdriver.cpp:2242:26: error: ‘INITIALSTATE’ was not declared in this scope
     _ClientPollProcess = INITIALSTATE;
                          ^
calcdriver.cpp:2244:10: error: ‘_PollState’ was not declared in this scope
     if (!_PollState && !_ServerState &&
          ^
calcdriver.cpp:2245:9: error: ‘_ClientState’ was not declared in this scope
         _ClientState == Mcalc_KeepAliveState::RESET_POLLING)
         ^
calcdriver.cpp:2245:25: error: ‘RESET_POLLING’ is not a member of ‘Mcalc_KeepAliveState’
         _ClientState == Mcalc_KeepAliveState::RESET_POLLING)
                         ^
calcdriver.cpp:2247:22: error: ‘IDLE’ is not a member of ‘Mcalc_KeepAliveState’
       _ClientState = Mcalc_KeepAliveState::IDLE;
                      ^
calcdriver.cpp:2251:22: error: ‘IDLE’ is not a member of ‘Mcalc_KeepAliveState’
       _ClientState = Mcalc_KeepAliveState::IDLE;
                      ^
calcdriver.cpp: At global scope:
calcdriver.cpp:2274:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ForceResetAllPolling()
      ^
calcdriver.cpp: In function ‘bool ForceResetAllPolling()’:
calcdriver.cpp:2280:18: error: ‘_Parent’ was not declared in this scope
   int IoState_ = _Parent->SetNoPolling(true)
                  ^
calcdriver.cpp:2283:43: error: ‘_ServerState’ was not declared in this scope
                      !IsServerAliveStates(_ServerState);
                                           ^
calcdriver.cpp:2285:50: error: ‘WRITE’ was not declared in this scope
   if (ForceReset_ && _Parent->GetClientAliveFile(WRITE))
                                                  ^
calcdriver.cpp:2288:5: error: ‘_KeepAlivePollError’ was not declared in this scope
     _KeepAlivePollError = false;
     ^
calcdriver.cpp:2290:5: error: ‘_ClientState’ was not declared in this scope
     _ClientState = Mcalc_KeepAliveState::IDLE;
     ^
calcdriver.cpp:2290:20: error: ‘IDLE’ is not a member of ‘Mcalc_KeepAliveState’
     _ClientState = Mcalc_KeepAliveState::IDLE;
                    ^
calcdriver.cpp:2291:5: error: ‘_PrevServerProcess’ was not declared in this scope
     _PrevServerProcess = _ServerPollProcess;
     ^
calcdriver.cpp:2291:26: error: ‘_ServerPollProcess’ was not declared in this scope
     _PrevServerProcess = _ServerPollProcess;
                          ^
calcdriver.cpp:2292:26: error: ‘INITIALSTATE’ was not declared in this scope
     _ServerPollProcess = INITIALSTATE;
                          ^
calcdriver.cpp:2294:20: error: ‘IDLE’ is not a member of ‘Mcalc_KeepAliveState’
     _ServerState = Mcalc_KeepAliveState::IDLE;
                    ^
calcdriver.cpp:2295:5: error: ‘_PrevClientProcess’ was not declared in this scope
     _PrevClientProcess = _ClientPollProcess;
     ^
calcdriver.cpp:2295:26: error: ‘_ClientPollProcess’ was not declared in this scope
     _PrevClientProcess = _ClientPollProcess;
                          ^
calcdriver.cpp:2310:7: error: ‘_PollState’ was not declared in this scope
       _PollState = Mcalc_KeepAliveState::IDLE;
       ^
calcdriver.cpp:2310:20: error: ‘IDLE’ is not a member of ‘Mcalc_KeepAliveState’
       _PollState = Mcalc_KeepAliveState::IDLE;
                    ^
calcdriver.cpp: At global scope:
calcdriver.cpp:2332:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::PollServerIfAlive_IMPL(int Sleep_, bool ResponseOnly_)
      ^
calcdriver.cpp: In function ‘bool PollServerIfAlive_IMPL(int, bool)’:
calcdriver.cpp:2334:3: error: ‘_AsyncMode’ was not declared in this scope
   _AsyncMode = _Parent ? _Parent->InAsyncMode():false;
   ^
calcdriver.cpp:2334:16: error: ‘_Parent’ was not declared in this scope
   _AsyncMode = _Parent ? _Parent->InAsyncMode():false;
                ^
calcdriver.cpp:2357:28: error: ‘_PollState’ was not declared in this scope
     bool ServerResponse_ = _PollState == Mcalc_PollState::SERVER_RESPONSE;
                            ^
calcdriver.cpp:2357:42: error: ‘Mcalc_PollState’ has not been declared
     bool ServerResponse_ = _PollState == Mcalc_PollState::SERVER_RESPONSE;
                                          ^
calcdriver.cpp:2382:28: error: too few arguments to function ‘void ConfirmServerAlive(bool)’
         ConfirmServerAlive();
                            ^
calcdriver.cpp:1497:6: note: declared here
 void ServerPollingMgr::ConfirmServerAlive(bool ClientReceive_)
      ^
calcdriver.cpp:2388:9: error: ‘_KeepAlivePollError’ was not declared in this scope
         _KeepAlivePollError = true;
         ^
calcdriver.cpp:2389:39: error: ‘ReAttemptPolling’ was not declared in this scope
         RetryPoll_ = ReAttemptPolling();
                                       ^
calcdriver.cpp:2399:28: error: ‘_ExitAtRetryMax’ was not declared in this scope
         if (!RetryPoll_ && _ExitAtRetryMax)
                            ^
calcdriver.cpp: At global scope:
calcdriver.cpp:2436:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ReceiveKeepAlivePoll_IMPL(int Sleep_)
      ^
calcdriver.cpp: In function ‘bool ReceiveKeepAlivePoll_IMPL(int)’:
calcdriver.cpp:2438:3: error: ‘_AsyncMode’ was not declared in this scope
   _AsyncMode = _Parent ? _Parent->InAsyncMode():false;
   ^
calcdriver.cpp:2438:16: error: ‘_Parent’ was not declared in this scope
   _AsyncMode = _Parent ? _Parent->InAsyncMode():false;
                ^
calcdriver.cpp:2460:27: error: ‘_ServerState’ was not declared in this scope
     bool ServerPolling_ = _ServerState == Mcalc_KeepAliveState::POLL_CLIENTALIVE;
                           ^
calcdriver.cpp:2460:43: error: ‘POLL_CLIENTALIVE’ is not a member of ‘Mcalc_KeepAliveState’
     bool ServerPolling_ = _ServerState == Mcalc_KeepAliveState::POLL_CLIENTALIVE;
                                           ^
calcdriver.cpp:2479:26: error: too few arguments to function ‘void ConfirmClientAlive(bool)’
       ConfirmClientAlive();
                          ^
calcdriver.cpp:1676:6: note: declared here
 void ServerPollingMgr::ConfirmClientAlive(bool PollServer_)
      ^
calcdriver.cpp: At global scope:
calcdriver.cpp:2517:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::PollServerIfAlive(int Sleep_,
      ^
calcdriver.cpp: In function ‘bool PollServerIfAlive(int, bool, bool)’:
calcdriver.cpp:2520:7: error: ‘_Backup’ was not declared in this scope
   if (_Backup)
       ^
calcdriver.cpp:2522:48: error: ‘SetStopTracking’ was not declared in this scope
     SetStopTracking(!UntilEnd_ || ResponseOnly_);
                                                ^
calcdriver.cpp:2523:17: error: invalid use of ‘this’ in non-member function
     *_Backup = *this;
                 ^
calcdriver.cpp:2532:14: error: ‘LOOP_GUARD_LIMIT’ was not declared in this scope
   long Max = LOOP_GUARD_LIMIT;  // RETRY_READ_MAX * 2;
              ^
calcdriver.cpp:2535:42: error: ‘DELAY_MULT’ was not declared in this scope
   int DelayLen_ = IOSTATE_DELAY_LENGTH * DELAY_MULT;
                                          ^
calcdriver.cpp:2543:25: error: ‘_ResetWhenNotReq’ was not declared in this scope
   bool ResetOnNotReq_ = _ResetWhenNotReq;
                         ^
calcdriver.cpp:2551:20: error: ‘_RetryPollCount’ was not declared in this scope
     PrevAttempt_ = _RetryPollCount;
                    ^
calcdriver.cpp:2558:11: error: ‘_BreakOnPollError’ was not declared in this scope
       if (_BreakOnPollError)
           ^
calcdriver.cpp:2560:29: error: ‘SetStopTracking’ was not declared in this scope
         SetStopTracking(true);
                             ^
calcdriver.cpp:2573:51: error: ‘_KeepAlivePollError’ was not declared in this scope
       else if (_RetryPollCount != PrevAttempt_ && _KeepAlivePollError)
                                                   ^
calcdriver.cpp:2576:29: error: ‘SetStopTracking’ was not declared in this scope
         SetStopTracking(true);
                             ^
calcdriver.cpp:2578:13: error: ‘_Backup’ was not declared in this scope
         if (_Backup)
             ^
calcdriver.cpp:2580:23: error: invalid use of ‘this’ in non-member function
           *_Backup = *this;
                       ^
calcdriver.cpp:2598:7: error: ‘_ResetStatesOnDone’ was not declared in this scope
   if (_ResetStatesOnDone || _KeepAlivePollError)
       ^
calcdriver.cpp:2598:29: error: ‘_KeepAlivePollError’ was not declared in this scope
   if (_ResetStatesOnDone || _KeepAlivePollError)
                             ^
calcdriver.cpp:2602:27: error: ‘SetStopTracking’ was not declared in this scope
       SetStopTracking(true);
                           ^
calcdriver.cpp:2607:27: error: ‘SetStopTracking’ was not declared in this scope
       SetStopTracking(true);
                           ^
calcdriver.cpp:2543:8: warning: unused variable ‘ResetOnNotReq_’ [-Wunused-variable]
   bool ResetOnNotReq_ = _ResetWhenNotReq;
        ^
calcdriver.cpp: At global scope:
calcdriver.cpp:2621:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ReceiveKeepAlivePoll(int Sleep_, bool UntilEnd_)
      ^
calcdriver.cpp: In function ‘bool ReceiveKeepAlivePoll(int, bool)’:
calcdriver.cpp:2623:7: error: ‘_Backup’ was not declared in this scope
   if (_Backup)
       ^
calcdriver.cpp:2625:31: error: ‘SetStopTracking’ was not declared in this scope
     SetStopTracking(!UntilEnd_);
                               ^
calcdriver.cpp:2626:17: error: invalid use of ‘this’ in non-member function
     *_Backup = *this;
                 ^
calcdriver.cpp:2636:25: error: ‘_ResetWhenNotReq’ was not declared in this scope
   bool ResetOnNotReq_ = _ResetWhenNotReq;
                         ^
calcdriver.cpp:2639:14: error: ‘LOOP_GUARD_LIMIT’ was not declared in this scope
   long Max = LOOP_GUARD_LIMIT;  // RETRY_READ_MAX * 2;
              ^
calcdriver.cpp:2644:55: error: too few arguments to function ‘bool ClientReceiveRequired(int)’
        LoopGuard_ && PollOk_ && ClientReceiveRequired();
                                                       ^
calcdriver.cpp:1919:6: note: declared here
 bool ServerPollingMgr::ClientReceiveRequired(int Sleep_)
      ^
calcdriver.cpp:2658:7: error: ‘_ResetStatesOnDone’ was not declared in this scope
   if (_ResetStatesOnDone || _KeepAlivePollError)
       ^
calcdriver.cpp:2658:29: error: ‘_KeepAlivePollError’ was not declared in this scope
   if (_ResetStatesOnDone || _KeepAlivePollError)
                             ^
calcdriver.cpp:2662:27: error: ‘SetStopTracking’ was not declared in this scope
       SetStopTracking(true);
                           ^
calcdriver.cpp:2667:27: error: ‘SetStopTracking’ was not declared in this scope
       SetStopTracking(true);
                           ^
calcdriver.cpp:2636:8: warning: unused variable ‘ResetOnNotReq_’ [-Wunused-variable]
   bool ResetOnNotReq_ = _ResetWhenNotReq;
        ^
calcdriver.cpp: At global scope:
calcdriver.cpp:2681:6: error: ‘ServerPollingMgr’ has not been declared
 void ServerPollingMgr::ResetRetryRead()
      ^
calcdriver.cpp: In function ‘void ResetRetryRead()’:
calcdriver.cpp:2683:3: error: ‘_RetryReadCount’ was not declared in this scope
   _RetryReadCount = 0;
   ^
calcdriver.cpp: At global scope:
calcdriver.cpp:2687:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::AtMaxReadAttempts() const
      ^
calcdriver.cpp:2687:44: error: non-member function ‘bool AtMaxReadAttempts()’ cannot have cv-qualifier
 bool ServerPollingMgr::AtMaxReadAttempts() const
                                            ^
calcdriver.cpp: In function ‘bool AtMaxReadAttempts()’:
calcdriver.cpp:2689:11: error: ‘_RetryReadCount’ was not declared in this scope
   return (_RetryReadCount >= RETRY_READ_MAX);
           ^
calcdriver.cpp:2689:30: error: ‘RETRY_READ_MAX’ was not declared in this scope
   return (_RetryReadCount >= RETRY_READ_MAX);
                              ^
calcdriver.cpp: At global scope:
calcdriver.cpp:2693:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ReAttemptFileRead()
      ^
calcdriver.cpp: In function ‘bool ReAttemptFileRead()’:
calcdriver.cpp:2695:7: error: ‘_RetryReadCount’ was not declared in this scope
   if (_RetryReadCount < RETRY_READ_MAX)
       ^
calcdriver.cpp:2695:25: error: ‘RETRY_READ_MAX’ was not declared in this scope
   if (_RetryReadCount < RETRY_READ_MAX)
                         ^
calcdriver.cpp: At global scope:
calcdriver.cpp:2704:6: error: ‘ServerPollingMgr’ has not been declared
 void ServerPollingMgr::ResetPollCount()
      ^
calcdriver.cpp: In function ‘void ResetPollCount()’:
calcdriver.cpp:2706:3: error: ‘_RetryPollCount’ was not declared in this scope
   _RetryPollCount = 0;
   ^
calcdriver.cpp: At global scope:
calcdriver.cpp:2710:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::AtMaxPollAttempts() const
      ^
calcdriver.cpp:2710:44: error: non-member function ‘bool AtMaxPollAttempts()’ cannot have cv-qualifier
 bool ServerPollingMgr::AtMaxPollAttempts() const
                                            ^
calcdriver.cpp: In function ‘bool AtMaxPollAttempts()’:
calcdriver.cpp:2712:11: error: ‘_RetryPollCount’ was not declared in this scope
   return (_RetryPollCount >= RETRY_READ_MAX);
           ^
calcdriver.cpp:2712:30: error: ‘RETRY_READ_MAX’ was not declared in this scope
   return (_RetryPollCount >= RETRY_READ_MAX);
                              ^
calcdriver.cpp: At global scope:
calcdriver.cpp:2716:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ReAttemptPolling()
      ^
calcdriver.cpp: In function ‘bool ReAttemptPolling()’:
calcdriver.cpp:2718:7: error: ‘_KeepAlivePollError’ was not declared in this scope
   if (_KeepAlivePollError && _RetryPollCount < RETRY_READ_MAX)
       ^
calcdriver.cpp:2718:30: error: ‘_RetryPollCount’ was not declared in this scope
   if (_KeepAlivePollError && _RetryPollCount < RETRY_READ_MAX)
                              ^
calcdriver.cpp:2718:48: error: ‘RETRY_READ_MAX’ was not declared in this scope
   if (_KeepAlivePollError && _RetryPollCount < RETRY_READ_MAX)
                                                ^
calcdriver.cpp: At global scope:
calcdriver.cpp:2730:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ServerPollingAllowed() const
      ^
calcdriver.cpp:2730:47: error: non-member function ‘bool ServerPollingAllowed()’ cannot have cv-qualifier
 bool ServerPollingMgr::ServerPollingAllowed() const
                                               ^
calcdriver.cpp: In function ‘bool ServerPollingAllowed()’:
calcdriver.cpp:2732:10: error: ‘_AllowPollServer’ was not declared in this scope
   return _AllowPollServer;
          ^
calcdriver.cpp: At global scope:
calcdriver.cpp:2736:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ConfirmedServerAlive() const
      ^
calcdriver.cpp:2736:47: error: non-member function ‘bool ConfirmedServerAlive()’ cannot have cv-qualifier
 bool ServerPollingMgr::ConfirmedServerAlive() const
                                               ^
calcdriver.cpp: In function ‘bool ConfirmedServerAlive()’:
calcdriver.cpp:2738:10: error: ‘_ConfirmedServerAlive’ was not declared in this scope
   return _ConfirmedServerAlive;
          ^
calcdriver.cpp: At global scope:
calcdriver.cpp:2742:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ConfirmedClientAlive() const
      ^
calcdriver.cpp:2742:47: error: non-member function ‘bool ConfirmedClientAlive()’ cannot have cv-qualifier
 bool ServerPollingMgr::ConfirmedClientAlive() const
                                               ^
calcdriver.cpp: In function ‘bool ConfirmedClientAlive()’:
calcdriver.cpp:2744:10: error: ‘_ConfirmedClientAlive’ was not declared in this scope
   return _ConfirmedClientAlive;
          ^
calcdriver.cpp: At global scope:
calcdriver.cpp:2748:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ServerAliveConfirmedSent() const
      ^
calcdriver.cpp:2748:51: error: non-member function ‘bool ServerAliveConfirmedSent()’ cannot have cv-qualifier
 bool ServerPollingMgr::ServerAliveConfirmedSent() const
                                                   ^
calcdriver.cpp: In function ‘bool ServerAliveConfirmedSent()’:
calcdriver.cpp:2750:10: error: ‘_ServerAliveConfSent’ was not declared in this scope
   return _ServerAliveConfSent;
          ^
calcdriver.cpp: At global scope:
calcdriver.cpp:2754:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::ExitAtRetryMax() const
      ^
calcdriver.cpp:2754:41: error: non-member function ‘bool ExitAtRetryMax()’ cannot have cv-qualifier
 bool ServerPollingMgr::ExitAtRetryMax() const
                                         ^
calcdriver.cpp: In function ‘bool ExitAtRetryMax()’:
calcdriver.cpp:2756:10: error: ‘_ExitAtRetryMax’ was not declared in this scope
   return _ExitAtRetryMax;
          ^
calcdriver.cpp: At global scope:
calcdriver.cpp:2760:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::SleepWaiting() const
      ^
calcdriver.cpp:2760:39: error: non-member function ‘bool SleepWaiting()’ cannot have cv-qualifier
 bool ServerPollingMgr::SleepWaiting() const
                                       ^
calcdriver.cpp: In function ‘bool SleepWaiting()’:
calcdriver.cpp:2762:10: error: ‘_SleepWaiting’ was not declared in this scope
   return _SleepWaiting;
          ^
calcdriver.cpp: At global scope:
calcdriver.cpp:2766:6: error: ‘ServerPollingMgr’ has not been declared
 bool ServerPollingMgr::WaitUntilResponse() const
      ^
calcdriver.cpp:2766:44: error: non-member function ‘bool WaitUntilResponse()’ cannot have cv-qualifier
 bool ServerPollingMgr::WaitUntilResponse() const
                                            ^
calcdriver.cpp: In function ‘bool WaitUntilResponse()’:
calcdriver.cpp:2768:10: error: ‘_WaitUntilResponse’ was not declared in this scope
   return _WaitUntilResponse;
          ^
calcdriver.cpp: In constructor ‘CalcDriver::CalcDriver()’:
calcdriver.cpp:2775:1: error: class ‘CalcDriver’ does not have any field named ‘_PollServerMgr’
 _PollServerMgr(NULL),
 ^
calcdriver.cpp:2776:1: error: class ‘CalcDriver’ does not have any field named ‘_ServerProgramAlive’
 _ServerProgramAlive(true),
 ^
calcdriver.cpp:2780:1: error: class ‘CalcDriver’ does not have any field named ‘_ServerAliveFile’
 _ServerAliveFile(NULL),
 ^
calcdriver.cpp:2782:1: error: class ‘CalcDriver’ does not have any field named ‘_PollStateFile’
 _PollStateFile(NULL),
 ^
calcdriver.cpp:2783:1: error: class ‘CalcDriver’ does not have any field named ‘_ServerAliveMode’
 _ServerAliveMode(0),
 ^
calcdriver.cpp:2784:1: error: class ‘CalcDriver’ does not have any field named ‘_ClientAliveMode’
 _ClientAliveMode(0),
 ^
calcdriver.cpp:2785:1: error: class ‘CalcDriver’ does not have any field named ‘_PollStateMode’
 _PollStateMode(0),
 ^
calcdriver.cpp:2786:1: error: class ‘CalcDriver’ does not have any field named ‘filestatus_ServerAliveState’
 filestatus_ServerAliveState(0),
 ^
calcdriver.cpp:2787:1: error: class ‘CalcDriver’ does not have any field named ‘filestatus_ClientAliveState’
 filestatus_ClientAliveState(0),
 ^
calcdriver.cpp:2788:1: error: class ‘CalcDriver’ does not have any field named ‘filestatus_PollState’
 filestatus_PollState(0),
 ^
calcdriver.cpp:2789:1: error: class ‘CalcDriver’ does not have any field named ‘_OpenServerAliveFileRetries’
 _OpenServerAliveFileRetries(0),
 ^
calcdriver.cpp:2791:1: error: class ‘CalcDriver’ does not have any field named ‘_OpenPollStateFileRetries’
 _OpenPollStateFileRetries(0),
 ^
calcdriver.cpp:2794:1: error: class ‘CalcDriver’ does not have any field named ‘_AttemptMode’
 _AttemptMode(NULL),
 ^
calcdriver.cpp:2795:1: error: class ‘CalcDriver’ does not have any field named ‘_AttemptFileName’
 _AttemptFileName(NULL),
 ^
calcdriver.cpp:2800:1: error: class ‘CalcDriver’ does not have any field named ‘_OutputDataRead’
 _OutputDataRead(0),
 ^
calcdriver.cpp:2803:1: error: class ‘CalcDriver’ does not have any field named ‘_ResponseOnly’
 _ResponseOnly(true),
 ^
calcdriver.cpp:2821:1: error: class ‘CalcDriver’ does not have any field named ‘_IoStateRead’
 _IoStateRead(false),
 ^
calcdriver.cpp:2828:1: error: class ‘CalcDriver’ does not have any field named ‘_GrOutputDataFname’
 _GrOutputDataFname(NULL),
 ^
calcdriver.cpp:2829:1: error: class ‘CalcDriver’ does not have any field named ‘_GraphProgressOutDone’
 _GraphProgressOutDone(false),
 ^
calcdriver.cpp:2830:1: error: class ‘CalcDriver’ does not have any field named ‘_GraphOperationOutDone’
 _GraphOperationOutDone(false),
 ^
calcdriver.cpp:2831:1: error: class ‘CalcDriver’ does not have any field named ‘_GrOutputDataFnameDone’
 _GrOutputDataFnameDone(false),
 ^
calcdriver.cpp:2832:1: error: class ‘CalcDriver’ does not have any field named ‘_GrOutputFnameSet’
 _GrOutputFnameSet(false),
 ^
calcdriver.cpp:2833:1: error: class ‘CalcDriver’ does not have any field named ‘_GrNumer’
 _GrNumer(0),
 ^
calcdriver.cpp:2834:1: error: class ‘CalcDriver’ does not have any field named ‘_GrNumerSet’
 _GrNumerSet(false),
 ^
calcdriver.cpp:2835:1: error: class ‘CalcDriver’ does not have any field named ‘_GrDenom’
 _GrDenom(0),
 ^
calcdriver.cpp:2836:1: error: class ‘CalcDriver’ does not have any field named ‘_GrDenomSet’
 _GrDenomSet(false),
 ^
calcdriver.cpp:2837:1: error: class ‘CalcDriver’ does not have any field named ‘_GraphPlotOpType’
 _GraphPlotOpType(0),
 ^
calcdriver.cpp:2838:1: error: class ‘CalcDriver’ does not have any field named ‘_GraphType’
 _GraphType(0),
 ^
calcdriver.cpp:2839:1: error: class ‘CalcDriver’ does not have any field named ‘_GraphSubtype’
 _GraphSubtype(0),
 ^
calcdriver.cpp:2840:1: error: class ‘CalcDriver’ does not have any field named ‘_GraphOpTypeSet’
 _GraphOpTypeSet(false),
 ^
calcdriver.cpp:2841:1: error: class ‘CalcDriver’ does not have any field named ‘_GrProgressFetched’
 _GrProgressFetched(false),
 ^
calcdriver.cpp:2842:1: error: class ‘CalcDriver’ does not have any field named ‘_GrOperationFetched’
 _GrOperationFetched(false),
 ^
calcdriver.cpp:2843:1: error: class ‘CalcDriver’ does not have any field named ‘_GrProgressDataShown’
 _GrProgressDataShown(true),
 ^
calcdriver.cpp:2844:1: error: class ‘CalcDriver’ does not have any field named ‘_GrOperationDataShown’
 _GrOperationDataShown(true),
 ^
calcdriver.cpp:2845:1: error: class ‘CalcDriver’ does not have any field named ‘_GrReadBuffer’
 _GrReadBuffer(NULL),
 ^
calcdriver.cpp:2846:1: error: class ‘CalcDriver’ does not have any field named ‘_GrReadOk’
 _GrReadOk(false),
 ^
calcdriver.cpp:2852:1: error: class ‘CalcDriver’ does not have any field named ‘_BreakAll’
 _BreakAll(0),
 ^
calcdriver.cpp:2856:1: error: class ‘CalcDriver’ does not have any field named ‘_NoPolling’
 _NoPolling(true),
 ^
In file included from calcdriver.cpp:2:0:
calcdriver.h:224:12: warning: ‘CalcDriver::_OpenClientAliveFileRetries’ will be initialized after [-Wreorder]
     size_t _OpenClientAliveFileRetries;
            ^
calcdriver.h:219:9: warning:   ‘int CalcDriver::_AttemptFile’ [-Wreorder]
     int _AttemptFile;
         ^
calcdriver.cpp:2774:1: warning:   when initialized here [-Wreorder]
 CalcDriver::CalcDriver():
 ^
calcdriver.cpp:2868:3: error: ‘_PollServerMgr’ was not declared in this scope
   _PollServerMgr = new ServerPollingMgr(this, true);
   ^
calcdriver.cpp:2868:24: error: expected type-specifier before ‘ServerPollingMgr’
   _PollServerMgr = new ServerPollingMgr(this, true);
                        ^
calcdriver.cpp:2868:24: error: expected ‘;’ before ‘ServerPollingMgr’
calcdriver.cpp:2925:3: error: ‘_NoPolling’ was not declared in this scope
   _NoPolling = _PollServerMgr == NULL;
   ^
calcdriver.cpp: In destructor ‘virtual CalcDriver::~CalcDriver()’:
calcdriver.cpp:2948:14: error: ‘POLLSTATE_FILE’ was not declared in this scope
     delete[] POLLSTATE_FILE;
              ^
calcdriver.cpp:2950:14: error: ‘GRAPH_PROGRESS_FILE’ was not declared in this scope
     delete[] GRAPH_PROGRESS_FILE;
              ^
calcdriver.cpp:2951:14: error: ‘GRAPH_OPERATION_FILE’ was not declared in this scope
     delete[] GRAPH_OPERATION_FILE;
              ^
calcdriver.cpp: In member function ‘int CalcDriver::FindUnusedEntry(FILE**)’:
calcdriver.cpp:3159:42: error: ‘DELAY_MULT’ was not declared in this scope
   int DelayLen_ = IOSTATE_DELAY_LENGTH * DELAY_MULT;
                                          ^
calcdriver.cpp: In member function ‘void CalcDriver::GetFilenames()’:
calcdriver.cpp:3355:22: error: ‘MCALC_POLLSTATE_FILE’ was not declared in this scope
           TempStr_ = MCALC_POLLSTATE_FILE;
                      ^
calcdriver.cpp:3358:11: error: ‘POLLSTATE_FILE’ was not declared in this scope
           POLLSTATE_FILE = NewString(TempStr_.ascii());
           ^
calcdriver.cpp:3365:22: error: ‘MCALC_GRAPH_PROGRESS_FILE’ was not declared in this scope
           TempStr_ = MCALC_GRAPH_PROGRESS_FILE;
                      ^
calcdriver.cpp:3368:11: error: ‘GRAPH_PROGRESS_FILE’ was not declared in this scope
           GRAPH_PROGRESS_FILE = NewString(TempStr_.ascii());
           ^
calcdriver.cpp:3370:22: error: ‘MCALC_GRAPH_OPERATION_FILE’ was not declared in this scope
           TempStr_ = MCALC_GRAPH_OPERATION_FILE;
                      ^
calcdriver.cpp:3373:11: error: ‘GRAPH_OPERATION_FILE’ was not declared in this scope
           GRAPH_OPERATION_FILE = NewString(TempStr_.ascii());
           ^
calcdriver.cpp: In member function ‘void CalcDriver::InitializeFiles()’:
calcdriver.cpp:3398:26: error: ‘IDLE’ is not a member of ‘Mcalc_KeepAliveState’
   fprintf(Fout_, "%d\n", Mcalc_KeepAliveState::IDLE);
                          ^
calcdriver.cpp:3403:26: error: ‘IDLE’ is not a member of ‘Mcalc_KeepAliveState’
   fprintf(Fout_, "%d\n", Mcalc_KeepAliveState::IDLE);
                          ^
calcdriver.cpp:3407:17: error: ‘POLLSTATE_FILE’ was not declared in this scope
   Fout_ = fopen(POLLSTATE_FILE, "w");
                 ^
calcdriver.cpp:3408:24: error: ‘Mcalc_PollState’ has not been declared
   fprintf(Fout_, "%d", Mcalc_PollState::IDLE);
                        ^
calcdriver.cpp: In member function ‘void CalcDriver::SendToInput()’:
calcdriver.cpp:3522:5: error: ‘_IoStateRead’ was not declared in this scope
     _IoStateRead =
     ^
calcdriver.cpp:3542:26: error: ‘GRAPH_PROGRESS’ is not a member of ‘Mcalc_IOState’
     else if (_IoState == Mcalc_IOState::GRAPH_PROGRESS && !_GrProgressFetched)
                          ^
calcdriver.cpp:3542:60: error: ‘_GrProgressFetched’ was not declared in this scope
     else if (_IoState == Mcalc_IOState::GRAPH_PROGRESS && !_GrProgressFetched)
                                                            ^
calcdriver.cpp:3544:25: error: ‘ShowGraphProgress’ was not declared in this scope
       ShowGraphProgress();
                         ^
calcdriver.cpp:3547:56: error: ‘_GrOperationFetched’ was not declared in this scope
     else if (_IoState == Mcalc_IOState::GRAPH_WAIT && !_GrOperationFetched)
                                                        ^
calcdriver.cpp:3549:31: error: ‘FetchGraphOperationData’ was not declared in this scope
       FetchGraphOperationData();
                               ^
calcdriver.cpp:3577:25: error: ‘GRAPH_PROGRESS’ is not a member of ‘Mcalc_IOState’
           PrevState_ != Mcalc_IOState::GRAPH_PROGRESS)) ||
                         ^
calcdriver.cpp:3579:27: error: ‘RETRY_ATTEMPTS’ was not declared in this scope
         (WaitForOutput(1, RETRY_ATTEMPTS) &&
                           ^
calcdriver.cpp:3613:5: error: ‘_BreakAll’ was not declared in this scope
     _BreakAll = false;
     ^
calcdriver.cpp:3654:30: error: ‘GRAPH_PROGRESS’ is not a member of ‘Mcalc_IOState’
                PrevState_ != Mcalc_IOState::GRAPH_PROGRESS)) ||
                              ^
calcdriver.cpp:3656:32: error: ‘RETRY_ATTEMPTS’ was not declared in this scope
              (WaitForOutput(1, RETRY_ATTEMPTS) &&
                                ^
calcdriver.cpp:3529:10: warning: unused variable ‘CalcOutReady_’ [-Wunused-variable]
     bool CalcOutReady_ = false;
          ^
calcdriver.cpp: At global scope:
calcdriver.cpp:3681:36: error: no ‘void CalcDriver::ShowGraphProgress()’ member function declared in class ‘CalcDriver’
 void CalcDriver::ShowGraphProgress()
                                    ^
calcdriver.cpp: In member function ‘void CalcDriver::ShowProgress()’:
calcdriver.cpp:3789:23: error: ‘SendProgressFetched’ was not declared in this scope
   SendProgressFetched();
                       ^
calcdriver.cpp: In member function ‘void CalcDriver::ShowOutput()’:
calcdriver.cpp:3905:24: error: ‘GRAPH_PROGRESS’ is not a member of ‘Mcalc_IOState’
           IoState() != Mcalc_IOState::GRAPH_PROGRESS && !_CalcOutDone)
                        ^
calcdriver.cpp:3918:14: error: ‘_GrProgressFetched’ was not declared in this scope
     else if (_GrProgressFetched || !_GrProgressDataShown)
              ^
calcdriver.cpp:3918:37: error: ‘_GrProgressDataShown’ was not declared in this scope
     else if (_GrProgressFetched || !_GrProgressDataShown)
                                     ^
calcdriver.cpp:3920:29: error: ‘ShowGraphProgressData’ was not declared in this scope
       ShowGraphProgressData();
                             ^
calcdriver.cpp:3921:31: error: ‘HandleGraphProgressData’ was not declared in this scope
       HandleGraphProgressData();
                               ^
calcdriver.cpp:3929:27: error: ‘GRAPH_PROGRESS’ is not a member of ‘Mcalc_IOState’
     else if (IoState() == Mcalc_IOState::GRAPH_PROGRESS && !_GrProgressFetched)
                           ^
calcdriver.cpp:3929:61: error: ‘_GrProgressFetched’ was not declared in this scope
     else if (IoState() == Mcalc_IOState::GRAPH_PROGRESS && !_GrProgressFetched)
                                                             ^
calcdriver.cpp:3931:25: error: ‘ShowGraphProgress’ was not declared in this scope
       ShowGraphProgress();
                         ^
calcdriver.cpp:3932:57: error: ‘_GrOperationFetched’ was not declared in this scope
     else if (IoState() == Mcalc_IOState::GRAPH_WAIT && !_GrOperationFetched)
                                                         ^
calcdriver.cpp:3934:31: error: ‘FetchGraphOperationData’ was not declared in this scope
       FetchGraphOperationData();
                               ^
calcdriver.cpp: In member function ‘void CalcDriver::SendUserResponse(const QString&, bool)’:
calcdriver.cpp:4076:37: error: ‘INFILE_PROGRESS_ACK’ is not a member of ‘Mcalc_IOState’
     EvalExpression(Buffer_.ascii(), Mcalc_IOState::INFILE_PROGRESS_ACK, ExecCmd_);
                                     ^
calcdriver.cpp:4078:37: error: ‘GRAPH_WAIT_ACK’ is not a member of ‘Mcalc_IOState’
     EvalExpression(Buffer_.ascii(), Mcalc_IOState::GRAPH_WAIT_ACK, ExecCmd_);
                                     ^
calcdriver.cpp:4079:24: error: ‘GRAPH_PROGRESS’ is not a member of ‘Mcalc_IOState’
   else if (_IoState == Mcalc_IOState::GRAPH_PROGRESS)
                        ^
calcdriver.cpp:4080:37: error: ‘GRAPH_PROGRESS_ACK’ is not a member of ‘Mcalc_IOState’
     EvalExpression(Buffer_.ascii(), Mcalc_IOState::GRAPH_PROGRESS_ACK, ExecCmd_);
                                     ^
calcdriver.cpp: In member function ‘void CalcDriver::RetryFileOpen()’:
calcdriver.cpp:4101:40: error: ‘_PollServerMgr’ was not declared in this scope
   if (_FromMethod == READFROMOUTPUT && _PollServerMgr)
                                        ^
calcdriver.cpp:4134:28: error: no matching function for call to ‘CalcDriver::ReadFromOutput(bool, int)’
     ReadFromOutput(false, 0);
                            ^
calcdriver.cpp:4134:28: note: candidate is:
In file included from calcdriver.cpp:2:0:
calcdriver.h:345:10: note: void CalcDriver::ReadFromOutput()
     void ReadFromOutput();
          ^
calcdriver.h:345:10: note:   candidate expects 0 arguments, 2 provided
calcdriver.cpp:4156:10: error: ‘SERVERALIVE’ was not declared in this scope
     case SERVERALIVE:
          ^
calcdriver.cpp:4157:9: error: ‘_OpenServerAliveFileRetries’ was not declared in this scope
       ++_OpenServerAliveFileRetries;
         ^
calcdriver.cpp:4159:7: error: ‘_ServerAliveFile’ was not declared in this scope
       _ServerAliveFile = GetServerAliveFile(_ServerAliveMode == 'w', true);
       ^
calcdriver.cpp:4159:45: error: ‘_ServerAliveMode’ was not declared in this scope
       _ServerAliveFile = GetServerAliveFile(_ServerAliveMode == 'w', true);
                                             ^
calcdriver.cpp:4159:74: error: ‘GetServerAliveFile’ was not declared in this scope
       _ServerAliveFile = GetServerAliveFile(_ServerAliveMode == 'w', true);
                                                                          ^
calcdriver.cpp:4167:45: error: ‘_ClientAliveMode’ was not declared in this scope
       _ClientAliveFile = GetClientAliveFile(_ClientAliveMode == 'w', true);
                                             ^
calcdriver.cpp:4167:74: error: ‘GetClientAliveFile’ was not declared in this scope
       _ClientAliveFile = GetClientAliveFile(_ClientAliveMode == 'w', true);
                                                                          ^
calcdriver.cpp:4172:10: error: ‘POLLSTATE’ was not declared in this scope
     case POLLSTATE:
          ^
calcdriver.cpp:4173:9: error: ‘_OpenPollStateFileRetries’ was not declared in this scope
       ++_OpenPollStateFileRetries;
         ^
calcdriver.cpp:4175:7: error: ‘_PollStateFile’ was not declared in this scope
       _PollStateFile = GetPollStateFile(_PollStateMode == 'w', true);
       ^
calcdriver.cpp:4175:41: error: ‘_PollStateMode’ was not declared in this scope
       _PollStateFile = GetPollStateFile(_PollStateMode == 'w', true);
                                         ^
calcdriver.cpp:4175:68: error: ‘GetPollStateFile’ was not declared in this scope
       _PollStateFile = GetPollStateFile(_PollStateMode == 'w', true);
                                                                    ^
calcdriver.cpp:4199:12: error: ‘POLLSERVERIFALIVE’ was not declared in this scope
       case POLLSERVERIFALIVE:
            ^
calcdriver.cpp:4252:12: error: ‘OPENFILE’ was not declared in this scope
       case OPENFILE:
            ^
calcdriver.cpp:4255:26: error: ‘SERVERALIVE’ was not declared in this scope
         (_AttemptFile == SERVERALIVE) ? _ServerAliveFile:
                          ^
calcdriver.cpp:4255:41: error: ‘_ServerAliveFile’ was not declared in this scope
         (_AttemptFile == SERVERALIVE) ? _ServerAliveFile:
                                         ^
calcdriver.cpp:4256:26: error: ‘POLLSTATE’ was not declared in this scope
         (_AttemptFile == POLLSTATE)   ? _PollStateFile:NULL;
                          ^
calcdriver.cpp:4256:41: error: ‘_PollStateFile’ was not declared in this scope
         (_AttemptFile == POLLSTATE)   ? _PollStateFile:NULL;
                                         ^
calcdriver.cpp:4259:28: error: ‘_AttemptFileName’ was not declared in this scope
           openfile(&Fptr_, _AttemptFileName, _AttemptMode, true);
                            ^
calcdriver.cpp:4259:46: error: ‘_AttemptMode’ was not declared in this scope
           openfile(&Fptr_, _AttemptFileName, _AttemptMode, true);
                                              ^
calcdriver.cpp:4259:64: error: ‘openfile’ was not declared in this scope
           openfile(&Fptr_, _AttemptFileName, _AttemptMode, true);
                                                                ^
calcdriver.cpp:4098:7: warning: unused variable ‘Sleep_’ [-Wunused-variable]
   int Sleep_ = 0;
       ^
calcdriver.cpp: At global scope:
calcdriver.cpp:4265:48: error: no ‘CalcDriver* CalcDriver::SetNoPolling(bool)’ member function declared in class ‘CalcDriver’
 CalcDriver* CalcDriver::SetNoPolling(bool flag_)
                                                ^
calcdriver.cpp:4272:29: error: no ‘int CalcDriver::NoPolling() const’ member function declared in class ‘CalcDriver’
 int CalcDriver::NoPolling() const
                             ^
calcdriver.cpp: In member function ‘void CalcDriver::SetSessionEntry(long int, size_t)’:
calcdriver.cpp:4534:46: error: ‘DELAY_MULT’ was not declared in this scope
       int DelayLen_ = IOSTATE_DELAY_LENGTH * DELAY_MULT;
                                              ^
calcdriver.cpp:4543:11: error: ‘_AttemptMode’ was not declared in this scope
           _AttemptMode = "r+";
           ^
calcdriver.cpp:4544:11: error: ‘_AttemptFileName’ was not declared in this scope
           _AttemptFileName = MCALC_SESSION_FILE;
           ^
calcdriver.cpp:4545:40: error: ‘SetFromMethod’ was not declared in this scope
           SetFromMethod(SETSESSIONENTRY);
                                        ^
calcdriver.cpp: At global scope:
calcdriver.cpp:4637:33: error: no ‘int CalcDriver::SimulatePolling()’ member function declared in class ‘CalcDriver’
 int CalcDriver::SimulatePolling()
                                 ^
calcdriver.cpp:4722:5: error: prototype for ‘int CalcDriver::WaitForOutput(int, int)’ does not match any in class ‘CalcDriver’
 int CalcDriver::WaitForOutput(int delay_, int retry_)
     ^
In file included from calcdriver.cpp:2:0:
calcdriver.h:287:9: error: candidate is: int CalcDriver::WaitForOutput(int)
     int WaitForOutput(int delay_=0);
         ^
calcdriver.cpp:5086:38: error: no ‘int CalcDriver::GetIoState(int)’ member function declared in class ‘CalcDriver’
 int CalcDriver::GetIoState(int Sleep_)
                                      ^
calcdriver.cpp:5128:5: error: prototype for ‘int CalcDriver::ReadIoState(int, int, int*, int*)’ does not match any in class ‘CalcDriver’
 int CalcDriver::ReadIoState(int delay_, int retry_,
     ^
In file included from calcdriver.cpp:2:0:
calcdriver.h:340:9: error: candidate is: int CalcDriver::ReadIoState(int*, int*)
     int ReadIoState(int* AltGuiStates_=NULL, int* CalcOnlyStates_=NULL);
         ^
calcdriver.cpp:5540:43: error: no ‘bool CalcDriver::IsClientStates(int)’ member function declared in class ‘CalcDriver’
 bool CalcDriver::IsClientStates(int State_)
                                           ^
calcdriver.cpp:5557:43: error: no ‘bool CalcDriver::IsServerStates(int)’ member function declared in class ‘CalcDriver’
 bool CalcDriver::IsServerStates(int State_)
                                           ^
calcdriver.cpp:5576:82: error: no ‘void CalcDriver::SetFromMethod(int, bool, bool)’ member function declared in class ‘CalcDriver’
 void CalcDriver::SetFromMethod(int Method_, bool SetResponse_, bool ResponseOnly_)
                                                                                  ^
calcdriver.cpp:5585:42: error: no ‘void CalcDriver::FetchGraphOperationData()’ member function declared in class ‘CalcDriver’
 void CalcDriver::FetchGraphOperationData()
                                          ^
calcdriver.cpp:5640:41: error: no ‘void CalcDriver::FetchGraphProgressData()’ member function declared in class ‘CalcDriver’
 void CalcDriver::FetchGraphProgressData()
                                         ^
calcdriver.cpp:5867:6: error: prototype for ‘void CalcDriver::ReadFromOutput(bool, int)’ does not match any in class ‘CalcDriver’
 void CalcDriver::ReadFromOutput(bool SetNewState_, int State_)
      ^
In file included from calcdriver.cpp:2:0:
calcdriver.h:345:10: error: candidate is: void CalcDriver::ReadFromOutput()
     void ReadFromOutput();
          ^
calcdriver.cpp: In member function ‘void CalcDriver::EvalOutput()’:
calcdriver.cpp:6244:29: error: ‘GRAPH_PROGRESS’ is not a member of ‘Mcalc_IOState’
       else if (IoState() == Mcalc_IOState::GRAPH_PROGRESS && !_GraphProgressOutDone)
                             ^
calcdriver.cpp:6244:63: error: ‘_GraphProgressOutDone’ was not declared in this scope
       else if (IoState() == Mcalc_IOState::GRAPH_PROGRESS && !_GraphProgressOutDone)
                                                               ^
calcdriver.cpp:6246:33: error: ‘_GrReadBuffer’ was not declared in this scope
         std::cout <<"plot>> " <<_GrReadBuffer <<std::endl;
                                 ^
calcdriver.cpp:6250:29: error: ‘GRAPH_PROGRESS’ is not a member of ‘Mcalc_IOState’
                IoState() != Mcalc_IOState::GRAPH_PROGRESS && !_CalcOutDone)
                             ^
calcdriver.cpp:6263:12: error: ‘_IoStateRead’ was not declared in this scope
       if (!_IoStateRead)
            ^
calcdriver.cpp:6275:12: error: ‘_IoStateRead’ was not declared in this scope
       if (!_IoStateRead)
            ^
calcdriver.cpp:6313:12: error: ‘_IoStateRead’ was not declared in this scope
       if (!_IoStateRead)
            ^
calcdriver.cpp:6324:24: error: ‘GRAPH_PROGRESS’ is not a member of ‘Mcalc_IOState’
   else if (_IoState == Mcalc_IOState::GRAPH_PROGRESS)
                        ^
calcdriver.cpp:6326:9: error: ‘_GrReadBuffer’ was not declared in this scope
     if (_GrReadBuffer &&
         ^
calcdriver.cpp:6327:9: error: ‘_GraphProgressOutDone’ was not declared in this scope
         _GraphProgressOutDone && _GrProgressDataShown)
         ^
calcdriver.cpp:6327:34: error: ‘_GrProgressDataShown’ was not declared in this scope
         _GraphProgressOutDone && _GrProgressDataShown)
                                  ^
calcdriver.cpp:6329:16: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
       delete[] _GrReadBuffer;
                ^
calcdriver.cpp:6333:24: error: ‘GraphProgress’ was not declared in this scope
     emit GraphProgress();
                        ^
calcdriver.cpp:6372:5: error: ‘_GraphProgressOutDone’ was not declared in this scope
     _GraphProgressOutDone =
     ^
calcdriver.cpp:6374:28: error: no matching function for call to ‘CalcDriver::ReadFromOutput(bool, int)’
     ReadFromOutput(false, 0);
                            ^
calcdriver.cpp:6374:28: note: candidate is:
In file included from calcdriver.cpp:2:0:
calcdriver.h:345:10: note: void CalcDriver::ReadFromOutput()
     void ReadFromOutput();
          ^
calcdriver.h:345:10: note:   candidate expects 0 arguments, 2 provided
calcdriver.cpp: At global scope:
calcdriver.cpp:6384:40: error: no ‘void CalcDriver::ShowGraphProgressData()’ member function declared in class ‘CalcDriver’
 void CalcDriver::ShowGraphProgressData()
                                        ^
calcdriver.cpp:6438:42: error: no ‘void CalcDriver::HandleGraphProgressData()’ member function declared in class ‘CalcDriver’
 void CalcDriver::HandleGraphProgressData()
                                          ^
calcdriver.cpp: In member function ‘void CalcDriver::SendProgressReady()’:
calcdriver.cpp:6546:27: error: ‘SendProgressFetched’ was not declared in this scope
       SendProgressFetched();
                           ^
calcdriver.cpp:6597:25: error: ‘SendProgressFetched’ was not declared in this scope
     SendProgressFetched();
                         ^
calcdriver.cpp: At global scope:
calcdriver.cpp:6670:39: error: no ‘void CalcDriver::SendGraphWaitFetched()’ member function declared in class ‘CalcDriver’
 void CalcDriver::SendGraphWaitFetched()
                                       ^
calcdriver.cpp:6677:43: error: no ‘void CalcDriver::SendGraphProgressFetched()’ member function declared in class ‘CalcDriver’
 void CalcDriver::SendGraphProgressFetched()
                                           ^
calcdriver.cpp:6684:38: error: no ‘void CalcDriver::SendProgressFetched()’ member function declared in class ‘CalcDriver’
 void CalcDriver::SendProgressFetched()
                                      ^
calcdriver.cpp: In member function ‘int CalcDriver::EvalExpression(const char*, int, bool)’:
calcdriver.cpp:6781:30: error: ‘GRAPH_WAIT_ACK’ is not a member of ‘Mcalc_IOState’
               InputState_ == Mcalc_IOState::GRAPH_WAIT_ACK ||
                              ^
calcdriver.cpp:6782:30: error: ‘GRAPH_PROGRESS_ACK’ is not a member of ‘Mcalc_IOState’
               InputState_ == Mcalc_IOState::GRAPH_PROGRESS_ACK ||
                              ^
calcdriver.cpp:6783:30: error: ‘INFILE_PROGRESS_ACK’ is not a member of ‘Mcalc_IOState’
               InputState_ == Mcalc_IOState::INFILE_PROGRESS_ACK))
                              ^
calcdriver.cpp: In member function ‘void CalcDriver::Execute()’:
calcdriver.cpp:6908:32: error: no matching function for call to ‘CalcDriver::ReadFromOutput(bool, int)’
         ReadFromOutput(false, 0);
                                ^
calcdriver.cpp:6908:32: note: candidate is:
In file included from calcdriver.cpp:2:0:
calcdriver.h:345:10: note: void CalcDriver::ReadFromOutput()
     void ReadFromOutput();
          ^
calcdriver.h:345:10: note:   candidate expects 0 arguments, 2 provided
calcdriver.cpp: At global scope:
calcdriver.cpp:6927:44: error: no ‘void CalcDriver::SendServerAlive(bool)’ member function declared in class ‘CalcDriver’
 void CalcDriver::SendServerAlive(bool flag_)
                                            ^
calcdriver.cpp:6936:49: error: no ‘void CalcDriver::ShowServerPollFailed(bool)’ member function declared in class ‘CalcDriver’
 void CalcDriver::ShowServerPollFailed(bool Exit_)
                                                 ^
calcdriver.cpp:6951:6: error: prototype for ‘bool CalcDriver::PollServerIfAlive(int)’ does not match any in class ‘CalcDriver’
 bool CalcDriver::PollServerIfAlive(int Sleep_)
      ^
In file included from calcdriver.cpp:2:0:
calcdriver.h:302:10: error: candidate is: void CalcDriver::PollServerIfAlive()
     void PollServerIfAlive();
          ^
calcdriver.cpp:6972:70: error: no ‘int CalcDriver::openfile(FILE**, const char*, const char*, int, int, int)’ member function declared in class ‘CalcDriver’
                          int Retry_, int ExitOnFail_, int MaxRetries_)
                                                                      ^
calcdriver.cpp:7015:62: error: no ‘FILE* CalcDriver::GetClientAliveFile(int, bool)’ member function declared in class ‘CalcDriver’
 FILE* CalcDriver::GetClientAliveFile(int Write_, bool Rewind_)
                                                              ^
calcdriver.cpp:7047:62: error: no ‘FILE* CalcDriver::GetServerAliveFile(int, bool)’ member function declared in class ‘CalcDriver’
 FILE* CalcDriver::GetServerAliveFile(int Write_, bool Rewind_)
                                                              ^
calcdriver.cpp:7079:60: error: no ‘FILE* CalcDriver::GetPollStateFile(int, bool)’ member function declared in class ‘CalcDriver’
 FILE* CalcDriver::GetPollStateFile(int Write_, bool Rewind_)
                                                            ^
calcdriver.cpp:7111:39: error: no ‘void CalcDriver::CloseClientAliveFile()’ member function declared in class ‘CalcDriver’
 void CalcDriver::CloseClientAliveFile()
                                       ^
calcdriver.cpp:7121:39: error: no ‘void CalcDriver::CloseServerAliveFile()’ member function declared in class ‘CalcDriver’
 void CalcDriver::CloseServerAliveFile()
                                       ^
calcdriver.cpp:7131:37: error: no ‘void CalcDriver::ClosePollStateFile()’ member function declared in class ‘CalcDriver’
 void CalcDriver::ClosePollStateFile()
                                     ^
calcdriver.cpp:7173:52: error: no ‘const char* CalcDriver::GetGraphProgressFilename() const’ member function declared in class ‘CalcDriver’
 const char* CalcDriver::GetGraphProgressFilename() const
                                                    ^
calcdriver.cpp:7179:53: error: no ‘const char* CalcDriver::GetGraphOperationFilename() const’ member function declared in class ‘CalcDriver’
 const char* CalcDriver::GetGraphOperationFilename() const
                                                     ^
calcdriver.cpp:7209:48: error: no ‘const char* CalcDriver::GetPollStateFilename() const’ member function declared in class ‘CalcDriver’
 const char* CalcDriver::GetPollStateFilename() const
                                                ^
calcdriver.cpp: In function ‘const char* KeepAliveStateToStr(int)’:
calcdriver.cpp:238:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘const char* PollStateToStr(int)’:
calcdriver.cpp:251:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool PausePollResults()’:
calcdriver.cpp:395:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool StopTracking()’:
calcdriver.cpp:401:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool ServerIsPolling()’:
calcdriver.cpp:420:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool ResetSignalSent()’:
calcdriver.cpp:506:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool PollingResetByServer()’:
calcdriver.cpp:527:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool AtInitialState()’:
calcdriver.cpp:569:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool ClientIsPolling()’:
calcdriver.cpp:588:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool PollingReset()’:
calcdriver.cpp:718:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool ResponseRequired(int, int&, int)’:
calcdriver.cpp:762:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool ServerSetPollInProcess(bool*)’:
calcdriver.cpp:781:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool ClientSetPollReset(bool*)’:
calcdriver.cpp:799:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘int ReadServerState(int)’:
calcdriver.cpp:998:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘int ReadClientState(bool)’:
calcdriver.cpp:1095:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘int IncCycleNum()’:
calcdriver.cpp:1424:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool IsServerAliveStates(int)’:
calcdriver.cpp:1434:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool IsClientAliveStates(int)’:
calcdriver.cpp:1444:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool PollServerNotRequired(bool)’:
calcdriver.cpp:1857:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool PollServerInProcess()’:
calcdriver.cpp:1866:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool PollServerCompleted_IMPL(bool, bool)’:
calcdriver.cpp:1910:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool ClientReceiveNotRequired(bool)’:
calcdriver.cpp:2009:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool ClientReceiveInProcess()’:
calcdriver.cpp:2018:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool ClientReceiveCompleted_IMPL(bool, bool)’:
calcdriver.cpp:2062:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool AtMaxReadAttempts()’:
calcdriver.cpp:2690:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool AtMaxPollAttempts()’:
calcdriver.cpp:2713:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool ServerPollingAllowed()’:
calcdriver.cpp:2733:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool ConfirmedServerAlive()’:
calcdriver.cpp:2739:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool ConfirmedClientAlive()’:
calcdriver.cpp:2745:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool ServerAliveConfirmedSent()’:
calcdriver.cpp:2751:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool ExitAtRetryMax()’:
calcdriver.cpp:2757:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool SleepWaiting()’:
calcdriver.cpp:2763:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
calcdriver.cpp: In function ‘bool WaitUntilResponse()’:
calcdriver.cpp:2769:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
make: *** [calcdriver.o] Error 1
