Blaze 3.9
Deprecated.h
Go to the documentation of this file.
1//=================================================================================================
33//=================================================================================================
34
35#ifndef _BLAZE_SYSTEM_DEPRECATED_H_
36#define _BLAZE_SYSTEM_DEPRECATED_H_
37
38
39//=================================================================================================
40//
41// DEPRECATED MACRO
42//
43//=================================================================================================
44
45//*************************************************************************************************
52// GNU, Intel, PGI, and IBM C++ compiler
53#if (defined __GNUC__) || (defined __PGI) || (defined __IBMCPP__)
54# define BLAZE_DEPRECATED( func ) func __attribute__((deprecated))
55
56// Microsoft Visual C++ compiler
57#elif (defined _MSC_VER)
58# define BLAZE_DEPRECATED( func ) __declspec(deprecated) func
59
60// Default case for other compilers
61#else
62# error Compiler-specific deprecated tag undefined!
63#endif
64
66//*************************************************************************************************
67
68#endif