|
3.0 (revision 3c4236fb)
|
Go to the documentation of this file.
14 #ifndef OTF2_COMPILER_H
15 #define OTF2_COMPILER_H
25 #if defined( __has_attribute )
26 #define __otf2_has_attribute( x ) __has_attribute( x )
28 #define __otf2_has_attribute( x ) 0
32 #if __otf2_has_attribute( deprecated ) && !defined( OTF2_IGNORE_ATTRIBUTE_DEPRECATED )
35 #if !( defined( __PGI ) || defined( __GNUC__ ) && __GNUC__ < 6 )
36 #define __otf2_deprecated__ __attribute__( ( deprecated ) )
41 #ifndef __otf2_deprecated__
42 #define __otf2_deprecated__
46 #undef __otf2_has_attribute