enum Poco::SharedLibrary::Flags

Overview

#include <SharedLibrary.h>

enum Flags
{
    SHLIB_GLOBAL = 1,
    SHLIB_LOCAL  = 2,
};

Detailed Documentation

Enum Values

SHLIB_GLOBAL

On platforms that use dlopen(), use RTLD_GLOBAL.

This is the default if no flags are given.

This flag is ignored on platforms that do not use dlopen().

SHLIB_LOCAL

On platforms that use dlopen(), use RTLD_LOCAL instead of RTLD_GLOBAL.

Note that if this flag is specified, RTTI (including dynamic_cast and throw) will not work for types defined in the shared library with GCC and possibly other compilers as well. See http://gcc.gnu.org/faq.html#dso for more information.

This flag is ignored on platforms that do not use dlopen().