Go to the source code of this file.
Macros | |
#define | YARP_HAS_EXECINFO_H |
#define | YARP_HAS_SYS_WAIT_H |
#define | YARP_HAS_SYS_TYPES_H |
#define | YARP_HAS_SYS_PRCTL_H |
#define | YARP_HAS_SIGNAL_H |
#define | YARP_HAS_SYS_SIGNAL_H |
#define | YARP_HAS_NETDB_H |
#define | YARP_HAS_DLFCN_H |
#define | YARP_HAS_IFADDRS_H |
#define | YARP_POINTER_SIZE 8 |
#define | YARP_DISABLE_CLASS_ENUM_API_WARNING |
#define | YARP_COMPILER_MESSAGE(x) |
Print a message at build time on supported compilers. | |
#define | YARP_COMPILER_WARNING(x) |
Generate a warning at build time on supported compilers. | |
#define | YARP_COMPILER_ERROR(x) |
Generate an error at build time on supported compilers. | |
#define | YARP_COMPILER_DEPRECATED_WARNING(x) YARP_COMPILER_WARNING(x) |
Generate a warning at build time on supported compilers if deprecated warnings are enabled. | |
#define | YARP_BEGIN_PACK |
Starts 1 byte packing for structs/classes. | |
#define | YARP_END_PACK |
Ends 1 byte packing for structs/classes. | |
#define | YARP_WARNING_PUSH |
Starts a temporary alteration of the enabled warnings. | |
#define | YARP_WARNING_POP |
Ends a temporary alteration of the enabled warnings. | |
#define | YARP_DISABLE_DEPRECATED_WARNING |
Disable deprecated warnings in the following code. | |
#define | YARP_DISABLE_DLL_INTERFACE_WARNING |
Disable MSVC C4251 warnings in the following code. | |
#define | YARP_SUPPRESS_DLL_INTERFACE_WARNING |
Suppress MSVC C4251 warning for the next line. | |
#define | YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARG(x) x |
Suppress MSVC C4251 warning for the declaration. | |
#define | YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARGS(...) __VA_ARGS__ |
Suppress MSVC C4251 warning for the declaration. | |
#define YARP_BEGIN_PACK |
Starts 1 byte packing for structs/classes.
Instructs the compiler that the following structure/class has to be packed with 1 byte boundary. This is conditionally generated depending on the compiler and architecture. It assures interoperability of network communication between compilers.
#define YARP_COMPILER_DEPRECATED_WARNING | ( | x | ) | YARP_COMPILER_WARNING(x) |
Generate a warning at build time on supported compilers if deprecated warnings are enabled.
This can be useful for example to deprecate a header file.
x | Deprecation message. |
#define YARP_COMPILER_ERROR | ( | x | ) |
Generate an error at build time on supported compilers.
For example:
will generate an error "This is a custom compiler error".
x | Error message. |
#define YARP_COMPILER_MESSAGE | ( | x | ) |
Print a message at build time on supported compilers.
For example:
will print "This is a custom compiler message".
x | Message. |
#define YARP_COMPILER_WARNING | ( | x | ) |
Generate a warning at build time on supported compilers.
For example:
will generate a warning "This is a custom compiler warning"
x | Warning message. |
#define YARP_DISABLE_DEPRECATED_WARNING |
Disable deprecated warnings in the following code.
It should be used in this way:
#define YARP_DISABLE_DLL_INTERFACE_WARNING |
Disable MSVC C4251 warnings in the following code.
It should be used in this way:
#define YARP_END_PACK |
Ends 1 byte packing for structs/classes.
Instructs the compiler that the default packing can be reinstated.
#define YARP_SUPPRESS_DLL_INTERFACE_WARNING |
Suppress MSVC C4251 warning for the next line.
It should be used in this way:
#define YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARG | ( | x | ) | x |
Suppress MSVC C4251 warning for the declaration.
It should be used in this way:
#define YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARGS | ( | ... | ) | __VA_ARGS__ |
Suppress MSVC C4251 warning for the declaration.
It should be used in this way:
#define YARP_WARNING_POP |
Ends a temporary alteration of the enabled warnings.
#define YARP_WARNING_PUSH |
Starts a temporary alteration of the enabled warnings.