STIR  6.3.0
deprecated.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2020, UCL
3  Copyright (C) 2020, UKRI
4  This file is part of STIR.
5  SPDX-License-Identifier: Apache-2.0
6  See STIR/LICENSE.txt for details
7 */
8 #ifndef __stir_deprecated_H__
9 #define __stir_deprecated_H__
10 
15 #include "stir/common.h"
16 
17 START_NAMESPACE_STIR
18 
20 #if defined(__GNUC__) || defined(__clang__)
21 # define STIR_DEPRECATED __attribute__((deprecated))
22 #elif defined(_MSC_VER)
23 # define STIR_DEPRECATED __declspec(deprecated)
24 #else
25 # pragma message("WARNING: You need to implement DEPRECATED for this compiler")
26 # define STIR_DEPRECATED
27 #endif
28 
29 END_NAMESPACE_STIR
30 
31 #endif // __stir_deprecated_H__
basic configuration include file