From 1fa297d34f1d1f35fbfc18e30556fb43fa2a623e Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Sat, 7 Feb 2004 01:21:30 +0000 Subject: [PATCH] fixed sunpro warnings --- src/libCom/cxxTemplates/epicsSingleton.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libCom/cxxTemplates/epicsSingleton.h b/src/libCom/cxxTemplates/epicsSingleton.h index 1c56fd41f..da47a9763 100644 --- a/src/libCom/cxxTemplates/epicsSingleton.h +++ b/src/libCom/cxxTemplates/epicsSingleton.h @@ -104,8 +104,8 @@ inline epicsSingleton::~epicsSingleton () // sorts of problems then clean up is left to other classes. } -// SUN PRO generates warnings unless it sees an implementation -#ifdef _SUNPRO_CC +#if defined ( __SUNPRO_CC ) && __SUNPRO_CC <= 0x550 + // SUN PRO 5.4 generates bogus warnings unless it sees an implementation template < class TYPE > inline epicsSingleton::epicsSingleton ( const epicsSingleton & ) {