Experimental Physics and Industrial Control System
BTW, on ubuntu with gcc 4.6.1, I notice that C++ try/catch constructs like this in the regression tests don't catch properly, but if I run the test in the debugger then the catch does work?! Has anyone else seen this issue? I see this issue with both epicsTimeTest and acctst.
try {
const epicsTimeStamp badTS = {1, 1000000000};
epicsTime ts(badTS);
char buf [32];
ts.strftime(buf, sizeof(buf), pFormat);
testFail("nanosecond overflow returned \"%s\"", buf);
}
catch ( ... ) {
testPass("nanosecond overflow throws");
}
Jeff
______________________________________________________
Jeffrey O. Hill Email [email protected]
LANL MS H820 Voice 505 665 1831
Los Alamos NM 87545 USA FAX 505 665 5107
Message content: TSPA
- Replies:
- Re: catch in ubuntu gcc 4.6.1 Andrew Johnson
- Navigate by Date:
- Prev:
Re: optimization to epicsTime Andrew Johnson
- Next:
Re: catch in ubuntu gcc 4.6.1 Andrew Johnson
- Index:
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:
RE: optimization to epicsTime Hill, Jeff
- Next:
Re: catch in ubuntu gcc 4.6.1 Andrew Johnson
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024