accomodate archaic vxWorks gnu compiler

This commit is contained in:
Jeff Hill
2009-08-14 17:31:34 +00:00
parent e0d16659e1
commit 0012042a5e
2 changed files with 7 additions and 2 deletions
+4 -1
View File
@@ -26,6 +26,7 @@
#define epicsAssertAuthor "Jeff Hill johill@lanl.gov"
#include <stdexcept>
#include <string>
#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;
+3 -1
View File
@@ -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 ();
};