All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Deprecated.h
Go to the documentation of this file.
1 //=================================================================================================
20 //=================================================================================================
21 
22 #ifndef _BLAZE_SYSTEM_DEPRECATED_H_
23 #define _BLAZE_SYSTEM_DEPRECATED_H_
24 
25 
26 //=================================================================================================
27 //
28 // DEPRECATED MACRO
29 //
30 //=================================================================================================
31 
32 //*************************************************************************************************
38 // GNU, Intel, PGI, and IBM C++ compiler
39 #if (defined __GNUC__) || (defined __PGI) || (defined __IBMCPP__)
40 # define BLAZE_DEPRECATED( func ) func __attribute__((deprecated))
41 
42 // Microsoft Visual C++ compiler
43 #elif (defined _MSC_VER)
44 # define BLAZE_DEPRECATED( func ) __declspec(deprecated) func
45 
46 // Default case for other compilers
47 #else
48 # error Compiler-specific deprecated tag undefined!
49 #endif
50 //*************************************************************************************************
51 
52 #endif