accomodate archaic vxWorks gnu compiler
This commit is contained in:
+4
-1
@@ -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;
|
||||
|
||||
@@ -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 ();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user