diff options
author | David Tolnay <dtolnay@gmail.com> | 2015-08-16 09:00:31 -0700 |
---|---|---|
committer | David Tolnay <dtolnay@gmail.com> | 2015-08-16 09:00:31 -0700 |
commit | 73b9e8dc99afb0cca8dfa14d7aeec7842f029138 (patch) | |
tree | 99995ba3989f48bc5c09fd3b6b07db7e9145a772 /jv.h | |
parent | 490a8439479b2568233a045b83251702ff76a394 (diff) |
Fix -Wgnu-zero-variadic-macro-arguments
Diffstat (limited to 'jv.h')
-rw-r--r-- | jv.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -92,7 +92,7 @@ jv jv_array_indexes(jv, jv); #define JV_ARRAY_9(e1,e2,e3,e4,e5,e6,e7,e8,e9) (jv_array_append(JV_ARRAY_8(e1,e2,e3,e4,e5,e6,e7,e8),e9)) #define JV_ARRAY_IDX(_1,_2,_3,_4,_5,_6,_7,_8,_9,NAME,...) NAME #define JV_ARRAY(...) \ - JV_ARRAY_IDX(__VA_ARGS__, JV_ARRAY_9, JV_ARRAY_8, JV_ARRAY_7, JV_ARRAY_6, JV_ARRAY_5, JV_ARRAY_4, JV_ARRAY_3, JV_ARRAY_2, JV_ARRAY_1)(__VA_ARGS__) + JV_ARRAY_IDX(__VA_ARGS__, JV_ARRAY_9, JV_ARRAY_8, JV_ARRAY_7, JV_ARRAY_6, JV_ARRAY_5, JV_ARRAY_4, JV_ARRAY_3, JV_ARRAY_2, JV_ARRAY_1, dummy)(__VA_ARGS__) #ifdef __GNUC__ #define JV_PRINTF_LIKE(fmt_arg_num, args_num) \ |