5#ifndef DUNE_DEPRECATED_HH
6#define DUNE_DEPRECATED_HH
32#define DUNE_NO_DEPRECATED_BEGIN ...
38#define DUNE_NO_DEPRECATED_END ...
41# define DUNE_NO_DEPRECATED_BEGIN \
42 _Pragma("clang diagnostic push") \
43 _Pragma("clang diagnostic ignored \"-Wdeprecated-declarations\"")
44# define DUNE_NO_DEPRECATED_END _Pragma("clang diagnostic pop")
45# elif defined __INTEL_COMPILER
46# define DUNE_NO_DEPRECATED_BEGIN \
47 _Pragma("warning push") \
48 _Pragma("warning(disable:1478)") \
49 _Pragma("warning(disable:1786)")
50# define DUNE_NO_DEPRECATED_END _Pragma("warning pop")
51# elif defined __GNUC__
52# define DUNE_NO_DEPRECATED_BEGIN \
53 _Pragma("GCC diagnostic push") \
54 _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"")
55# define DUNE_NO_DEPRECATED_END _Pragma("GCC diagnostic pop")
57# define DUNE_NO_DEPRECATED_BEGIN
58# define DUNE_NO_DEPRECATED_END