Opened 3 years ago

Closed 3 years ago

#64723 closed defect (fixed)

flatbuffers: error: suggest braces around initialization of subobject

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: judaew (Vadym-Valdis Yudaiev)
Port: flatbuffers

Description

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

/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_flatbuffers/flatbuffers/work/flatbuffers-2.0.6/tests/test.cpp:3409:5: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
    one1, two, one2, onetwo, null_b1, null_c, null_b2
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    {                                                }

I recommend removing -Werror.

Change History (2)

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: judaew added

comment:2 Changed 3 years ago by Vadim-Valdis Yudaev <judaew@…>

Resolution: fixed
Status: assignedclosed

In 1f03bbcc9bec5f83cbccd7667ada9b56a7018cee/macports-ports (master):

flatbuffers: Add patch for remove -Werror flag

Closed: #64723

Note: See TracTickets for help on using tickets.