mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-30 05:39:03 +01:00
fixes for SolarisStudio compiler
This commit is contained in:
parent
e64ccbf405
commit
df9575dd26
@ -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);
|
||||
|
@ -35,7 +35,7 @@ public:
|
||||
enum EventTypeImpl
|
||||
{
|
||||
EVENT_MANUALRESET_IMPL,
|
||||
EVENT_AUTORESET_IMPL,
|
||||
EVENT_AUTORESET_IMPL
|
||||
};
|
||||
|
||||
protected:
|
||||
|
@ -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;
|
||||
|
@ -35,7 +35,7 @@ public:
|
||||
enum MutexTypeImpl
|
||||
{
|
||||
MUTEX_RECURSIVE_IMPL,
|
||||
MUTEX_NONRECURSIVE_IMPL,
|
||||
MUTEX_NONRECURSIVE_IMPL
|
||||
};
|
||||
|
||||
protected:
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user