X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fpivot-table.h;h=99fbdb295df000b4cfb50b05dcd084eb2478efd8;hb=75ac1e869e551495c403cf94a3a24dd0dfee98ef;hp=cc61377fc29818160b438e8866ca001873d51af0;hpb=5164eb1bfa0527dcb32248fb1fc7db55c2bcc94c;p=pspp diff --git a/src/output/pivot-table.h b/src/output/pivot-table.h index cc61377fc2..99fbdb295d 100644 --- a/src/output/pivot-table.h +++ b/src/output/pivot-table.h @@ -706,7 +706,11 @@ struct pivot_value *pivot_value_new_variable (const struct variable *); /* Values from text strings. */ struct pivot_value *pivot_value_new_text (const char *); struct pivot_value *pivot_value_new_text_format (const char *, ...) +#if defined(__GNUC__) && ((__GNUC__ == 4 && __GNUC_MINOR__>= 4) || __GNUC__ > 4) __attribute__((format(gnu_printf, 1, 2))); +#else + __attribute__((format(__printf__, 1, 2))); +#endif struct pivot_value *pivot_value_new_user_text (const char *, size_t length); struct pivot_value *pivot_value_new_user_text_nocopy (char *);