From 0012042a5e07b7ade13d0d3c734048fd8f46c3ec Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Fri, 14 Aug 2009 17:31:34 +0000 Subject: [PATCH] accomodate archaic vxWorks gnu compiler --- src/ca/tcpiiu.cpp | 5 ++++- src/libCom/osi/epicsThread.cpp | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) 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 (); };