fixes for SolarisStudio compiler

This commit is contained in:
Guenter Obiltschnig 2015-03-23 23:20:15 +01:00
parent e64ccbf405
commit df9575dd26
5 changed files with 5 additions and 9 deletions

View File

@ -49,7 +49,7 @@ public:
enum EventType
{
EVENT_MANUALRESET = EVENT_MANUALRESET_IMPL, /// Manual reset event
EVENT_AUTORESET = EVENT_AUTORESET_IMPL, /// Auto-reset event
EVENT_AUTORESET = EVENT_AUTORESET_IMPL /// Auto-reset event
};
explicit Event(EventType type = EVENT_AUTORESET);

View File

@ -35,7 +35,7 @@ public:
enum EventTypeImpl
{
EVENT_MANUALRESET_IMPL,
EVENT_AUTORESET_IMPL,
EVENT_AUTORESET_IMPL
};
protected:

View File

@ -52,8 +52,8 @@ public:
enum MutexType
/// The type of a mutex.
{
MUTEX_RECURSIVE = MUTEX_RECURSIVE_IMPL, /// A recursive mutex
MUTEX_NONRECURSIVE = MUTEX_NONRECURSIVE_IMPL, /// A non-recursive mutex
MUTEX_RECURSIVE = MUTEX_RECURSIVE_IMPL, /// A recursive mutex
MUTEX_NONRECURSIVE = MUTEX_NONRECURSIVE_IMPL /// A non-recursive mutex
};
typedef Poco::ScopedLock<Mutex> ScopedLock;

View File

@ -35,7 +35,7 @@ public:
enum MutexTypeImpl
{
MUTEX_RECURSIVE_IMPL,
MUTEX_NONRECURSIVE_IMPL,
MUTEX_NONRECURSIVE_IMPL
};
protected:

View File

@ -17,12 +17,8 @@
#include "Poco/Unicode.h"
extern "C"
{
#include "pcre_config.h"
GCC_DIAG_OFF(unused-function) // pcre_memmove unused function warning
#include "pcre_internal.h"
}
namespace Poco {