Go to the documentation of this file.
25 #ifndef HTSLIB_HTS_DEFS_H
26 #define HTSLIB_HTS_DEFS_H
28 #if __clang__major__ >= 2 || __GNUC__ >= 3
29 #define HTS_NORETURN __attribute__ ((__noreturn__))
34 #if (defined __clang__ && __clang_major__ >= 3) || \
35 (defined __GNUC__ && (__GNUC__ > 4 || (__GNUC__==4 && __GNUC_MINOR__ >= 5)))
36 #define HTS_RESULT_USED __attribute__ ((__warn_unused_result__))
38 #define HTS_RESULT_USED
41 #if defined __clang__ || defined __GNUC__
42 #define HTS_UNUSED __attribute__ ((__unused__))