Loading...
Searching...
No Matches
Go to the documentation of this file.
49#ifndef OPENMESH_CONFIG_H
50#define OPENMESH_CONFIG_H
55#include <OpenMesh/Core/System/compiler.hh>
56#include <OpenMesh/Core/System/OpenMeshDLLMacros.hh>
61#define OM_VERSION 0x0B0000
64#define OM_GET_VER ((OM_VERSION & 0xf0000) >> 16)
65#define OM_GET_MAJ ((OM_VERSION & 0x0ff00) >> 8)
66#define OM_GET_MIN (OM_VERSION & 0x000ff)
70# 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 !")
71# error min macro active
74# 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 !")
75# error max macro active
80#if defined(OM_SUPPRESS_DEPRECATED)
82 "OpenMesh deprecated code warnings suppressed, please fix your code soon")
83# define OM_DEPRECATED(msg)
84#elif defined(_MSC_VER)
85# define OM_DEPRECATED(msg) __declspec(deprecated(msg))
86#elif defined(__GNUC__)
87# if (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40500
88# define OM_DEPRECATED(msg) __attribute__ ((deprecated(msg)))
90# define OM_DEPRECATED(msg) __attribute__ ((deprecated))
92#elif defined(__clang__)
93# define OM_DEPRECATED(msg) __attribute__ ((deprecated(msg)))
95# define OM_DEPRECATED(msg)
98typedef unsigned int uint;
100#if ((defined(_MSC_VER) && (_MSC_VER >= 1800)) || __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__))