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.hender...@linaro.org/
Thanks! I queued your patch instead of mine.
Paolo