DUNE
Distributed and Unified Numerics Environment
DUNE PDELab (2.8)
dune
common
unused.hh
Go to the documentation of this file.
1
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2
// vi: set et ts=4 sw=2 sts=2:
3
#ifndef DUNE_COMMON_UNUSED_HH
4
#define DUNE_COMMON_UNUSED_HH
5
11
#ifndef HAS_ATTRIBUTE_UNUSED
13
19
#define DUNE_UNUSED
20
#else
21
#ifdef __GNUC__
22
# define DUNE_UNUSED _Pragma("GCC warning \"DUNE_UNUSED is deprecated\""
) __attribute__((unused))
23
#else
24
# define DUNE_UNUSED _Pragma("message \"DUNE_UNUSED is deprecated\""
) __attribute__((unused))
25
#endif
26
#endif
27
37
#define DUNE_UNUSED_PARAMETER(parm) static_cast<void>(parm)
38
#endif
|
Legal Statements / Impressum
| Hosted by
TU Dresden
| generated with Hugo v0.111.3 (Dec 21, 23:30, 2024)