Gazebo Common

API Reference

5.6.0
gz/common/SuppressWarning.hh File Reference
#include <gz/utils/SuppressWarning.hh>

Go to the source code of this file.

Macros

#define IGN_COMMON_WARN_IGNORE__DELETE_NON_VIRTUAL_DESTRUCTOR    GZ_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_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING    GZ_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_COMMON_WARN_RESUME__DELETE_NON_VIRTUAL_DESTRUCTOR    GZ_UTILS_WARN_RESUME__NON_VIRTUAL_DESTRUCTOR
 
#define IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING    GZ_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING
 

Macro Definition Documentation

◆ IGN_COMMON_WARN_IGNORE__DELETE_NON_VIRTUAL_DESTRUCTOR

#define IGN_COMMON_WARN_IGNORE__DELETE_NON_VIRTUAL_DESTRUCTOR    GZ_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_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING

#define IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING    GZ_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_COMMON_WARN_RESUME__DELETE_NON_VIRTUAL_DESTRUCTOR

#define IGN_COMMON_WARN_RESUME__DELETE_NON_VIRTUAL_DESTRUCTOR    GZ_UTILS_WARN_RESUME__NON_VIRTUAL_DESTRUCTOR

◆ IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING

#define IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING    GZ_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING