Go to the documentation of this file.
27 #ifndef mia_core_defines_hh
28 #define mia_core_defines_hh
30 #include <gsl++/gsldefines.hh>
31 #include <tbb/mutex.h>
43 #define NS_MIA_BEGIN namespace mia {
49 #define NS_MIA_USE using namespace mia;
52 #define NS_BEGIN(NS) namespace NS {
58 #define NS_USE(NS) using namespace NS
93 #define MIA_MODULE_SUFFIX "mia"
97 # define __attribute__(x)
98 # define MIA_PARAM_UNUSED(x) x
101 #ifndef MIA_PARAM_UNUSED
102 #define MIA_PARAM_UNUSED(x) x __attribute__((unused))
106 #ifdef miacore_EXPORTS
107 # define EXPORT_CORE DO_EXPORT
110 # define EXPORT_CORE DO_IMPORT
115 #define EXPORT DO_EXPORT
119 #define _CRTDBG_MAP_ALLOC
125 #pragma warning(disable: 4251) // class needs to have dll interface to be used ...
126 #pragma warning(disable: 4231) // nonstandard extension used "extern" before explicit template instanciation
127 #pragma warning(disable: 4275) // non-dll class used as base
128 #pragma warning(disable: 4244) // warning about int->float conversion
129 #pragma warning(disable: 4305) // truncation from double to float
130 #pragma warning(disable: 4800) // performance warning about forcing value to true or false
134 #ifdef miacore_EXPORTS
138 # define VSTREAM "MIA-CORE"