Message ID | 20150311232214.GB14617@redhat.com (mailing list archive) |
---|---|
State | Mainlined, archived |
Headers | show |
On Wed, Mar 11, 2015 at 4:22 PM, Michael Stefaniuc <mstefani@redhat.com> wrote: > Signed-off-by: Michael Stefaniuc <mstefani@redhat.com> > --- > Gets rid of the remaining "error: undefined identifier '__builtin_...'" > in Wine. Both patch applied and pushed. Can you submit some test case while you are there? Thanks Chris -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/lib.c b/lib.c index 58a7f2e..d5b56b0 100644 --- a/lib.c +++ b/lib.c @@ -970,6 +970,7 @@ void create_builtin_stream(void) 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_ms_va_copy(dest, src) ({ dest = src; (void)0; })\n"); add_pre_buffer("#define __builtin_va_end(arg)\n"); add_pre_buffer("#define __builtin_ms_va_end(arg)\n"); add_pre_buffer("#define __builtin_va_arg_pack()\n");
Signed-off-by: Michael Stefaniuc <mstefani@redhat.com> --- Gets rid of the remaining "error: undefined identifier '__builtin_...'" in Wine. lib.c | 1 + 1 file changed, 1 insertion(+)