Go to the documentation of this file.
14 # define EXPORT_TAG __declspec(dllexport)
15 # define IMPORT_TAG __declspec(dllimport)
22 #if defined(_MSC_VER) && !defined(__clang__) && !defined(__INTEL_COMPILER) && !defined(__INTEL_LLVM_COMPILER)
25 # if defined(__clang__) && !defined(__INTEL_LLVM_COMPILER)
28 # ifdef __INTEL_LLVM_COMPILER
29 # define INTELLLVMCOMP
31 # ifdef __INTEL_COMPILER
38 # if defined(__clang__) && !defined(__INTEL_LLVM_COMPILER)
41 # if defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER)
44 # if defined(__INTEL_COMPILER)
47 # ifdef __INTEL_LLVM_COMPILER
48 # define INTELLLVMCOMP
59 #define DOPRAGMA(x) _Pragma(#x)
61 #define INTELWARNING(x)
62 #define INTELLLVMWARNING(x)
64 #define CLANGWARNING(x)
68 # define PUSHWARNING DOPRAGMA(warning(push))
69 # define POPWARNING DOPRAGMA(warning(pop))
71 # define INTELWARNING(x) DOPRAGMA(warning(disable:x))
76 # define PUSHWARNING DOPRAGMA(warning(push))
77 # define POPWARNING DOPRAGMA(warning(pop))
79 # define VSWARNING(x) DOPRAGMA(warning(disable:x))
83 # define PUSHWARNING DOPRAGMA(clang diagnostic push)
84 # define POPWARNING DOPRAGMA(clang diagnostic pop)
86 # define CLANGWARNING(x) DOPRAGMA(clang diagnostic ignored x)
90 #define PUSHWARNING DOPRAGMA(clang diagnostic push)
91 #define POPWARNING DOPRAGMA(clang diagnostic pop)
92 #undef INTELLLVMWARNING
93 #define INTELLLVMWARNING(x) DOPRAGMA(clang diagnostic ignored x)
97 # define PUSHWARNING DOPRAGMA(GCC diagnostic push)
98 # define POPWARNING DOPRAGMA(GCC diagnostic pop)
100 # define GNUWARNING(x) DOPRAGMA(GCC diagnostic ignored x)
104 # define TEMPLATE template