You could add:
ï#ifndef TsDiffAsDouble
// TsDiffAsDouble was removed in EPICS R3.14.5
#define TsDiffAsDouble(pDbl, pS1, pS2) \
(void)( \
*pDbl = ((double)(*pS1).nsec - (double)(*pS2).nsec)/1000000000., \
*pDbl += (double)(*pS1).secPastEpoch - (double)(*pS2).secPastEpoch )
#endif
But I'll tar up the latest and send it to you.
Mike
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Heinrich du Toit
Sent: Wednesday, September 26, 2007 6:16 AM
To: TechTalk EPICS
Subject: channelWatcher
Hi
Is there somewhere a channel watcher that will compile with R3.14.9?
And also with GCC 4.1 - as there is numurous things in code that g++ 4.1 simply doesn't like - exstra ;'s and so forth.
The real brake is that is requires some tsDiffAsDouble function no where to be found.
Or should I just use AutoSaveRestore extensions - atleast that doesn't have 5000 errors when compiling.
thanx
-H
- References:
- channelWatcher Heinrich du Toit
- Navigate by Date:
- Prev:
RE: Using Asyn driver or modifying devLib (or related programs) of EPICSbase for any knid of cPCI cards Emmanuel Mayssat
- Next:
RE: Using Asyn driver or modifying devLib (or related programs) of EPICSbase for any knid of cPCI cards Jenny Chen
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
<2007>
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
channelWatcher Heinrich du Toit
- Next:
same PV on multiple IOC's - side effect Heinrich du Toit
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
<2007>
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|