Re: [PATCH] linux-user/vm86: Fix compilation with Clang

2024-10-13 Thread Michael Tokarev
On 11.10.2024 19:18, Thomas Huth wrote: Since commit 95b9c27c81 ("linux-user: Remove unused handle_vm86_fault") a bunch of other "static inline" function are now unused, too. Clang warns about such unused "static inline" functions in .c files, so the build currently breaks when compiling with "--

Re: [PATCH] linux-user/vm86: Fix compilation with Clang

2024-10-13 Thread Richard Henderson
On 10/11/24 09:18, Thomas Huth wrote: Since commit 95b9c27c81 ("linux-user: Remove unused handle_vm86_fault") a bunch of other "static inline" function are now unused, too. Clang warns about such unused "static inline" functions in .c files, so the build currently breaks when compiling with "--en

[PATCH] linux-user/vm86: Fix compilation with Clang

2024-10-11 Thread Thomas Huth
Since commit 95b9c27c81 ("linux-user: Remove unused handle_vm86_fault") a bunch of other "static inline" function are now unused, too. Clang warns about such unused "static inline" functions in .c files, so the build currently breaks when compiling with "--enable-werror". Remove the unused function

Re: [PATCH] linux-user/vm86: Fix compilation with Clang

2024-10-11 Thread Dr. David Alan Gilbert
* Thomas Huth (th...@redhat.com) wrote: > Since commit 95b9c27c81 ("linux-user: Remove unused handle_vm86_fault") > a bunch of other "static inline" function are now unused, too. Clang > warns about such unused "static inline" functions in .c files, so the > build currently breaks when compiling wi