BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnDefinitions.h
Go to the documentation of this file.
1
#ifndef BmnDefinitions_h
2
#define BmnDefinitions_h
3
4
#if defined(_MSC_VER)
5
#define DISABLE_UNUSED_PARAM_WARNING __pragma(warning(push)) __pragma(warning(disable : 4100))
6
7
#define RESTORE_UNUSED_PARAM_WARNING \
8
__pragma((warning(pop))
9
10
#elif defined(__clang__)
11
#define DISABLE_UNUSED_PARAM_WARNING \
12
_Pragma("clang diagnostic push") _Pragma("clang diagnostic ignored \"-Wunused-parameter\"")
13
14
#define RESTORE_UNUSED_PARAM_WARNING _Pragma("clang diagnostic pop")
15
16
#elif defined(__GNUC__)
17
#define DISABLE_UNUSED_PARAM_WARNING \
18
_Pragma("GCC diagnostic push") _Pragma("GCC diagnostic ignored \"-Wunused-parameter\"")
19
20
#define RESTORE_UNUSED_PARAM_WARNING _Pragma("GCC diagnostic pop")
21
#else
22
#define DISABLE_UNUSED_PARAM_WARNING
23
#define RESTORE_UNUSED_PARAM_WARNING
24
#endif
25
26
#endif
// BmnDefinitions_h
base
BmnDefinitions.h
Generated on
for BmnRoot by
1.17.0