Re: [PATCH for 8.0] qemu/osdep: Switch position of "extern" and "G_NORETURN"

2023-03-20 Thread Thomas Huth
On 18/03/2023 21.23, Bernhard Beschow wrote: + Thomas, Daniel (gitlab issue) and Stefan (Windows) Thanks, I'll pick the patch for my next pull request. Thomas Am 18. März 2023 18:59:31 UTC schrieb Bernhard Beschow : Fixes the Windows build under msys2 using GCC 12 which fails with the fol

Re: [PATCH for 8.0] qemu/osdep: Switch position of "extern" and "G_NORETURN"

2023-03-19 Thread Peter Maydell
On Sat, 18 Mar 2023 at 19:00, Bernhard Beschow wrote: > > Fixes the Windows build under msys2 using GCC 12 which fails with the > following > error: Apparently it also fixes the compilation with Clang 15 (see https://gitlab.com/qemu-project/qemu/-/issues/1541 ). You could use a Resolves: tag s

Re: [PATCH for 8.0] qemu/osdep: Switch position of "extern" and "G_NORETURN"

2023-03-18 Thread Bernhard Beschow
+ Thomas, Daniel (gitlab issue) and Stefan (Windows) Am 18. März 2023 18:59:31 UTC schrieb Bernhard Beschow : >Fixes the Windows build under msys2 using GCC 12 which fails with the following >error: > > [184/579] Compiling C++ object qga/vss-win32/qga-vss.dll.p/install.cpp.obj > FAILED: qga/vss-

[PATCH for 8.0] qemu/osdep: Switch position of "extern" and "G_NORETURN"

2023-03-18 Thread Bernhard Beschow
Fixes the Windows build under msys2 using GCC 12 which fails with the following error: [184/579] Compiling C++ object qga/vss-win32/qga-vss.dll.p/install.cpp.obj FAILED: qga/vss-win32/qga-vss.dll.p/install.cpp.obj "c++" "-m64" "-mcx16" "-Iqga/vss-win32/qga-vss.dll.p" "-Iqga/vss-win32" "-I..