3#ifndef DUNE_DEPRECATED_HH
4#define DUNE_DEPRECATED_HH
13#if defined(DOXYGEN) || !defined(HAS_ATTRIBUTE_DEPRECATED)
84#define DUNE_DEPRECATED
86#define DUNE_DEPRECATED __attribute__((deprecated))
89#if defined(DOXYGEN) || !defined(HAS_ATTRIBUTE_DEPRECATED_MSG)
169#define DUNE_DEPRECATED_MSG(text) DUNE_DEPRECATED
171#define DUNE_DEPRECATED_MSG(text) __attribute__((deprecated(# text)))
192#define DUNE_NO_DEPRECATED_BEGIN ...
198#define DUNE_NO_DEPRECATED_END ...
200# if defined __clang__
201# define DUNE_NO_DEPRECATED_BEGIN \
202 _Pragma("clang diagnostic push") \
203 _Pragma("clang diagnostic ignored \"-Wdeprecated-declarations\"")
204# define DUNE_NO_DEPRECATED_END _Pragma("clang diagnostic pop")
205# elif defined __INTEL_COMPILER
206# define DUNE_NO_DEPRECATED_BEGIN \
207 _Pragma("warning push") \
208 _Pragma("warning(disable:1478)")
209# define DUNE_NO_DEPRECATED_END _Pragma("warning pop")
210# elif defined __GNUC__
211# define DUNE_NO_DEPRECATED_BEGIN \
212 _Pragma("GCC diagnostic push") \
213 _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"")
214# define DUNE_NO_DEPRECATED_END _Pragma("GCC diagnostic pop")
216# define DUNE_NO_DEPRECATED_BEGIN
217# define DUNE_NO_DEPRECATED_END