Fixes needed for older VxWorks GCC
This commit is contained in:
@@ -181,7 +181,7 @@ do { \
|
||||
|
||||
#define PRINT_EXCEPTION(EI) PRINT_EXCEPTION2(EI,stderr)
|
||||
|
||||
#ifndef __GNUC__
|
||||
#if !defined(__GNUC__) || __GNUC__ < 4
|
||||
# define SHOW_EXCEPTION(EI) ::epics::pvData::detail::showException(EI)
|
||||
#else
|
||||
# define SHOW_EXCEPTION(EI) \
|
||||
|
||||
@@ -110,7 +110,7 @@ class epicsShareClass RefMonitor
|
||||
Impl *impl;
|
||||
public:
|
||||
RefMonitor();
|
||||
~RefMonitor();
|
||||
virtual ~RefMonitor();
|
||||
|
||||
void start(double period=10.0);
|
||||
void stop();
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
// gently nudge the compiler to inline our wrappers
|
||||
// Warning: Only use this when the template body is *small*.
|
||||
// You have been warned!
|
||||
#if defined(__MINGW32__)
|
||||
#if defined(__MINGW32__)
|
||||
# define FORCE_INLINE inline
|
||||
#elif defined(__GNUC__) && __GNUC__>=3
|
||||
#elif defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__ >= 402)
|
||||
# define FORCE_INLINE __attribute__((always_inline)) inline
|
||||
#elif defined(_MSC_VER)
|
||||
# define FORCE_INLINE __forceinline
|
||||
|
||||
Reference in New Issue
Block a user