NebulaStream  0.6.213
NebulaStream is a data and application management framework for the internet of things
DisableWarningsPragma.hpp File Reference

Macros

#define DISABLE_WARNING_PUSH
 The following pragma disables particular compiler warnings for a particular code fragment. For example: More...
 
#define DISABLE_WARNING_POP
 
#define DISABLE_WARNING_UNREFERENCED_FORMAL_PARAMETER
 
#define DISABLE_WARNING_UNREFERENCED_FUNCTION
 

Macro Definition Documentation

◆ DISABLE_WARNING_POP

#define DISABLE_WARNING_POP

◆ DISABLE_WARNING_PUSH

#define DISABLE_WARNING_PUSH

The following pragma disables particular compiler warnings for a particular code fragment. For example:

DISABLE_WARNING_PUSH

DISABLE_WARNING_UNREFERENCED_FUNCTION

code where you want

to disable the warnings

DISABLE_WARNING_POP

Disables unreferenced function warning.

The macro works for GCC, CLANG, and Visual Studio. Details here: https://www.fluentcpp.com/2019/08/30/how-to-disable-a-warning-in-cpp

◆ DISABLE_WARNING_UNREFERENCED_FORMAL_PARAMETER

#define DISABLE_WARNING_UNREFERENCED_FORMAL_PARAMETER

◆ DISABLE_WARNING_UNREFERENCED_FUNCTION

#define DISABLE_WARNING_UNREFERENCED_FUNCTION