Gazebo Utils

API Reference

1.5.1
gz/utils/SuppressWarning.hh File Reference
#include <gz/utils/detail/SuppressWarning.hh>

Go to the source code of this file.

Macros

#define IGN_UTILS_WARN_IGNORE__DEPRECATED_DECLARATION   DETAIL_IGN_UTILS_WARN_IGNORE__DEPRECATED_DECLARATION
 Use this to suppress deprecation warnings. This may be useful when retaining tests for deprecated methods to preserve code coverage. More...
 
#define IGN_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING   DETAIL_IGN_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING
 Microsoft Visual Studio does not automatically export the interface information for member variables that belong to interface classes of a DLL. Instead it issues this warning. When the member variable is private, we choose to suppress the warning instead of needlessly adding the class information to the DLL interface. More...
 
#define IGN_UTILS_WARN_IGNORE__NON_VIRTUAL_DESTRUCTOR   DETAIL_IGN_UTILS_WARN_IGNORE__NON_VIRTUAL_DESTRUCTOR
 Compilers might warn about deleting a pointer to a class that has virtual functions without a virtual destructor or a final declaration, because the pointer might secretly be pointing to a more derived class type. We want to suppress this warning when we know for certain (via the design of our implementation) that the pointer is definitely not pointing to a more derived type. More...
 
#define IGN_UTILS_WARN_RESUME__DEPRECATED_DECLARATION   DETAIL_IGN_UTILS_WARN_RESUME__DEPRECATED_DECLARATION
 
#define IGN_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING   DETAIL_IGN_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING
 
#define IGN_UTILS_WARN_RESUME__NON_VIRTUAL_DESTRUCTOR   DETAIL_IGN_UTILS_WARN_RESUME__NON_VIRTUAL_DESTRUCTOR
 

Macro Definition Documentation

◆ IGN_UTILS_WARN_IGNORE__DEPRECATED_DECLARATION

#define IGN_UTILS_WARN_IGNORE__DEPRECATED_DECLARATION   DETAIL_IGN_UTILS_WARN_IGNORE__DEPRECATED_DECLARATION

Use this to suppress deprecation warnings. This may be useful when retaining tests for deprecated methods to preserve code coverage.

◆ IGN_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING

#define IGN_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING   DETAIL_IGN_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING

Microsoft Visual Studio does not automatically export the interface information for member variables that belong to interface classes of a DLL. Instead it issues this warning. When the member variable is private, we choose to suppress the warning instead of needlessly adding the class information to the DLL interface.

◆ IGN_UTILS_WARN_IGNORE__NON_VIRTUAL_DESTRUCTOR

#define IGN_UTILS_WARN_IGNORE__NON_VIRTUAL_DESTRUCTOR   DETAIL_IGN_UTILS_WARN_IGNORE__NON_VIRTUAL_DESTRUCTOR

Compilers might warn about deleting a pointer to a class that has virtual functions without a virtual destructor or a final declaration, because the pointer might secretly be pointing to a more derived class type. We want to suppress this warning when we know for certain (via the design of our implementation) that the pointer is definitely not pointing to a more derived type.

◆ IGN_UTILS_WARN_RESUME__DEPRECATED_DECLARATION

#define IGN_UTILS_WARN_RESUME__DEPRECATED_DECLARATION   DETAIL_IGN_UTILS_WARN_RESUME__DEPRECATED_DECLARATION

◆ IGN_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING

#define IGN_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING   DETAIL_IGN_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING

◆ IGN_UTILS_WARN_RESUME__NON_VIRTUAL_DESTRUCTOR

#define IGN_UTILS_WARN_RESUME__NON_VIRTUAL_DESTRUCTOR   DETAIL_IGN_UTILS_WARN_RESUME__NON_VIRTUAL_DESTRUCTOR