Opened 3 years ago

Closed 3 years ago

#62732 closed defect (fixed)

kitty @0.20.1: error: suggest braces around initialization of subobject

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: judaew (Vadym-Valdis Yudaiev)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: sierra highsierra Cc:
Port: kitty

Description

kitty doesn't build on macOS 10.12 or 10.13:

https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/144701/steps/install-port/logs/stdio

https://build.macports.org/builders/ports-10.13_x86_64-builder/builds/109239/steps/install-port/logs/stdio

kitty/child-monitor.c:1502:35: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
    PollFD fds[PEER_LIMIT + 8] = {0};
                                  ^
                                  {}
1 error generated.

This demonstrates one of the reasons why we recommend that ports not build with -Werror.

Change History (1)

comment:1 Changed 3 years ago by judaew (Vadym-Valdis Yudaiev)

Resolution: fixed
Status: assignedclosed

In 74b3fd45a0cebb086886d4fddd63e2b2b35906b3/macports-ports (master):

kitty: Build without -Werror

Fixed: #62732

Note: See TracTickets for help on using tickets.