Signed-off-by: Josh Triplett <josh@xxxxxxxxxxxxxxx> --- Recent versions of Linux started using this extension, so sparse needs this fix to avoid parse errors. lib.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lib.c b/lib.c index feb755a..bb2da7b 100644 --- a/lib.c +++ b/lib.c @@ -492,6 +492,7 @@ void create_builtin_stream(void) add_pre_buffer("#define __builtin_va_arg(arg,type) ({ type __va_arg_ret = *(type *)(arg); arg += sizeof(type); __va_arg_ret; })\n"); add_pre_buffer("#define __builtin_va_alist (*(void *)0)\n"); add_pre_buffer("#define __builtin_va_arg_incr(x) ((x) + 1)\n"); + add_pre_buffer("#define __builtin_va_copy(dest, src) ({ dest = src; (void)0; })\n"); add_pre_buffer("#define __builtin_va_end(arg)\n"); add_pre_buffer("#define __builtin_offsetof(type, name) ((__SIZE_TYPE__)&((type *)(0ul))->name)\n"); -- 1.4.1.1 - To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html