diff --git a/src/ca/tcpiiu.cpp b/src/ca/tcpiiu.cpp index 7688d8987..507558969 100644 --- a/src/ca/tcpiiu.cpp +++ b/src/ca/tcpiiu.cpp @@ -26,6 +26,7 @@ #define epicsAssertAuthor "Jeff Hill johill@lanl.gov" +#include #include #include "errlog.h" @@ -43,6 +44,8 @@ #include "caerr.h" #include "udpiiu.h" +using namespace std; + const unsigned mSecPerSec = 1000u; const unsigned uSecPerSec = 1000u * mSecPerSec; @@ -703,7 +706,7 @@ tcpiiu::tcpiiu ( "CAC: TCP circuit creation failure because \""; reason += sockErrBuf; reason += "\""; - throw std :: runtime_error ( reason ); + throw runtime_error ( reason ); } int flag = true; diff --git a/src/libCom/osi/epicsThread.cpp b/src/libCom/osi/epicsThread.cpp index f4ee1f330..9e5cfd56a 100644 --- a/src/libCom/osi/epicsThread.cpp +++ b/src/libCom/osi/epicsThread.cpp @@ -28,12 +28,14 @@ #include "epicsGuard.h" #include "errlog.h" +using namespace std; + epicsThreadRunable::~epicsThreadRunable () {} void epicsThreadRunable::run () {} void epicsThreadRunable::show ( unsigned int ) const {} class epicsThread :: unableToCreateThread : - public std :: exception { + public exception { public: const char * what () const throw (); };