Re: [RFC PATCH] block/file-posix: Remove a deprecation warning on macOS 12

2022-01-14 Thread Hanna Reitz
On 14.01.22 15:15, Philippe Mathieu-Daudé wrote: On 14/1/22 15:09, Hanna Reitz wrote: On 06.01.22 00:56, Philippe Mathieu-Daudé wrote: When building on macOS 12 we get:    ../block/file-posix.c:3335:18: warning: 'IOMasterPort' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declar

Re: [RFC PATCH] block/file-posix: Remove a deprecation warning on macOS 12

2022-01-14 Thread Hanna Reitz
On 06.01.22 00:56, Philippe Mathieu-Daudé wrote: When building on macOS 12 we get: ../block/file-posix.c:3335:18: warning: 'IOMasterPort' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] kernResult = IOMasterPort( MACH_PORT_NULL, &masterPort );

Re: [RFC PATCH] block/file-posix: Remove a deprecation warning on macOS 12

2022-01-14 Thread Philippe Mathieu-Daudé via
On 14/1/22 15:09, Hanna Reitz wrote: On 06.01.22 00:56, Philippe Mathieu-Daudé wrote: When building on macOS 12 we get:    ../block/file-posix.c:3335:18: warning: 'IOMasterPort' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]    kernResult = IOMasterPort( MACH_PO

[RFC PATCH] block/file-posix: Remove a deprecation warning on macOS 12

2022-01-05 Thread Philippe Mathieu-Daudé
When building on macOS 12 we get: ../block/file-posix.c:3335:18: warning: 'IOMasterPort' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] kernResult = IOMasterPort( MACH_PORT_NULL, &masterPort ); ^~~~ IOMainPort Use I