[ https://issues.apache.org/jira/browse/MYNEWT-870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16269966#comment-16269966 ]
ASF subversion and git services commented on MYNEWT-870: -------------------------------------------------------- Commit beed3c9b920c1fbe185f11e6e75bbc4f5ee95d69 in mynewt-core's branch refs/heads/master from [~marko] [ https://gitbox.apache.org/repos/asf?p=mynewt-core.git;h=beed3c9 ] Merge pull request #684 from mkiiskila/MYNEWT-870 net/nimble/host unittest; change null initialization to memset. > net/nimble/host unittest build failure on raspberry pi > ------------------------------------------------------ > > Key: MYNEWT-870 > URL: https://issues.apache.org/jira/browse/MYNEWT-870 > Project: Mynewt > Issue Type: Bug > Security Level: Public(Viewable by anyone) > Reporter: Marko Kiiskila > > Compiling net/nimble/host/test/src/ble_sm_sc_test.c > net/nimble/host/test/src/ble_hs_hci_test.c: In function > ‘TEST_CASE_ble_hs_hci_acl_one_conn’: > net/nimble/host/test/src/ble_hs_hci_test.c:88:12: error: missing braces > around initializer [-Werror=missing-braces] > struct ble_hs_test_util_hci_num_completed_pkts_entry ncpe[2] = { 0 }; > ^ > net/nimble/host/test/src/ble_hs_hci_test.c:88:12: error: (near initialization > for ‘ncpe[0]’) [-Werror=missing-braces] > net/nimble/host/test/src/ble_hs_hci_test.c: In function > ‘TEST_CASE_ble_hs_hci_acl_two_conn’: > net/nimble/host/test/src/ble_hs_hci_test.c:171:12: error: missing braces > around initializer [-Werror=missing-braces] > struct ble_hs_test_util_hci_num_completed_pkts_entry ncpe[2] = { 0 }; > ^ > net/nimble/host/test/src/ble_hs_hci_test.c:171:12: error: (near > initialization for ‘ncpe[0]’) [-Werror=missing-braces] > cc1: all warnings being treated as errors -- This message was sent by Atlassian JIRA (v6.4.14#64029)