qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] qemu-thread: avoid false positive in pthread_cleanup_push


From: Paolo Bonzini
Subject: Re: [PATCH] qemu-thread: avoid false positive in pthread_cleanup_push
Date: Wed, 8 Sep 2021 07:58:34 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

On 07/09/21 16:20, Richard Henderson wrote:
On 9/7/21 2:51 PM, Paolo Bonzini wrote:
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wstringop-overflow"
      pthread_cleanup_push(qemu_thread_atexit_notify, NULL);
+#pragma GCC diagnostic pop

I had a patch for this that didn't quite get applied for 6.1.
You can't leave the pragma unprotected for clang, unfortunately.

https://patchew.org/QEMU/20210803211907.150525-1-richard.henderson@linaro.org/

Thanks!  I queued your patch instead of mine.

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]