Fixes needed for older VxWorks GCC

This commit is contained in:
Andrew Johnson
2017-11-29 16:35:22 -06:00
parent 7196658166
commit 7c1e0a51eb
3 changed files with 4 additions and 4 deletions

View File

@@ -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) \

View File

@@ -110,7 +110,7 @@ class epicsShareClass RefMonitor
Impl *impl;
public:
RefMonitor();
~RefMonitor();
virtual ~RefMonitor();
void start(double period=10.0);
void stop();

View File

@@ -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