Ignition Msgs

API Reference

8.2.0
SuppressWarning.hh File Reference
#include <ignition/msgs/detail/SuppressWarning.hh>

Go to the source code of this file.

Macros

#define IGN_MSGS_WARN_IGNORE__DELETE_NON_VIRTUAL_DESTRUCTOR   DETAIL_IGN_MSGS_WARN_IGNORE__DELETE_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_MSGS_WARN_IGNORE__DLL_INTERFACE_MISSING   DETAIL_IGN_MSGS_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_MSGS_WARN_RESUME__DELETE_NON_VIRTUAL_DESTRUCTOR   DETAIL_IGN_MSGS_WARN_RESUME__DELETE_NON_VIRTUAL_DESTRUCTOR
 
#define IGN_MSGS_WARN_RESUME__DLL_INTERFACE_MISSING   DETAIL_IGN_MSGS_WARN_RESUME__DLL_INTERFACE_MISSING
 

Macro Definition Documentation

◆ IGN_MSGS_WARN_IGNORE__DELETE_NON_VIRTUAL_DESTRUCTOR

#define IGN_MSGS_WARN_IGNORE__DELETE_NON_VIRTUAL_DESTRUCTOR   DETAIL_IGN_MSGS_WARN_IGNORE__DELETE_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_MSGS_WARN_IGNORE__DLL_INTERFACE_MISSING

#define IGN_MSGS_WARN_IGNORE__DLL_INTERFACE_MISSING   DETAIL_IGN_MSGS_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_MSGS_WARN_RESUME__DELETE_NON_VIRTUAL_DESTRUCTOR

#define IGN_MSGS_WARN_RESUME__DELETE_NON_VIRTUAL_DESTRUCTOR   DETAIL_IGN_MSGS_WARN_RESUME__DELETE_NON_VIRTUAL_DESTRUCTOR

◆ IGN_MSGS_WARN_RESUME__DLL_INTERFACE_MISSING

#define IGN_MSGS_WARN_RESUME__DLL_INTERFACE_MISSING   DETAIL_IGN_MSGS_WARN_RESUME__DLL_INTERFACE_MISSING