Go to the documentation of this file. 56 #ifndef OPENMESH_CONFIG_H 57 #define OPENMESH_CONFIG_H 62 #include <OpenMesh/Core/System/compiler.hh> 63 #include <OpenMesh/Core/System/OpenMeshDLLMacros.hh> 68 #define OM_VERSION 0x90000 71 #define OM_GET_VER ((OM_VERSION & 0xf0000) >> 16) 72 #define OM_GET_MAJ ((OM_VERSION & 0x0ff00) >> 8) 73 #define OM_GET_MIN (OM_VERSION & 0x000ff) 77 # pragma message("Detected min macro! OpenMesh does not compile with min/max macros active! Please add a define NOMINMAX to your compiler flags or add #undef min before including OpenMesh headers !") 78 # error min macro active 81 # pragma message("Detected max macro! OpenMesh does not compile with min/max macros active! Please add a define NOMINMAX to your compiler flags or add #undef max before including OpenMesh headers !") 82 # error max macro active 87 #if defined(OM_SUPPRESS_DEPRECATED) 89 "OpenMesh deprecated code warnings suppressed, please fix your code soon") 90 # define OM_DEPRECATED(msg) 91 #elif defined(_MSC_VER) 92 # define OM_DEPRECATED(msg) __declspec(deprecated(msg)) 93 #elif defined(__GNUC__) 94 # if (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40500 95 # define OM_DEPRECATED(msg) __attribute__ ((deprecated(msg))) 97 # define OM_DEPRECATED(msg) __attribute__ ((deprecated)) 99 #elif defined(__clang__) 100 # define OM_DEPRECATED(msg) __attribute__ ((deprecated(msg))) 102 # define OM_DEPRECATED(msg) 105 typedef unsigned int uint;
107 #if ((defined(_MSC_VER) && (_MSC_VER >= 1800)) || __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__)) 112 #endif // OPENMESH_CONFIG_H defined