summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
caaa422)
It didn't work for gcc-4.
#define __printf_1_2 __printf(1,2)
#define __printf_2_3 __printf(2,3)
#define __printf_1_2 __printf(1,2)
#define __printf_2_3 __printf(2,3)
-# if __GNUC__ >=3 && __GNUC_MINOR__ > 3
+# if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 3)
# define __must_check __attribute__ ((warn_unused_result))
# else
# define __must_check /* no warn_unused_result */
# define __must_check __attribute__ ((warn_unused_result))
# else
# define __must_check /* no warn_unused_result */