mirror of
https://github.com/neovim/neovim.git
synced 2025-12-09 16:12:48 +00:00
build(test): unknown 'ipc_info_object_type_t' type on macOS #36523
Problem: On macOS Tahoe, `make unittest` started failing with the following error. ```` test/unit/testutil.lua:784: test/unit/testutil.lua:768: (string) ' test/unit/testutil.lua:295: declaration specifier expected near 'ipc_info_object_type_t' at line 2297' exit code: 256 stack traceback: test/unit/testutil.lua:784: in function 'itp_parent' test/unit/testutil.lua:822: in function <test/unit/testutil.lua:812> ```` Solution: Update filter_complex_blocks.
This commit is contained in:
@@ -163,6 +163,8 @@ local function filter_complex_blocks(body)
|
||||
-- used by macOS headers
|
||||
or string.find(line, 'typedef enum : ')
|
||||
or string.find(line, 'mach_vm_range_recipe')
|
||||
or string.find(line, 'ipc_info_object_type_t')
|
||||
or string.find(line, '__Reply__mach_port_kobject_t')
|
||||
)
|
||||
then
|
||||
-- Remove GCC's extension keyword which is just used to disable warnings.
|
||||
|
||||
Reference in New Issue
Block a user