Opened 7 years ago

Closed 7 years ago

#10237 closed bug (fixed)

[PATCH] Fix serialconnect build on x86_64

Reported by: umccullough Owned by: anevilyak
Priority: normal Milestone: R1
Component: Applications Version: R1/Development
Keywords: serialconnect x86_64 Cc:
Blocked By: Blocking:
Platform: All


It seems serialconnect didn't build on x86_64 due to an ambiguous call to BMenu::RemoveItem().

I'm unsure how to fix the ambiguity (as seen in the following stdio output link from the buildslave), but it seemed like an inefficient way to delete menu items anyway, since we have a RemoveItems() method now.

Attached patch converts repeated RemoveItem() calls to a single RemoveItems() call. Hopefully I got it right :)

Attachments (1)

0001-Remove-all-menu-items-in-unambiguous-way-on-x86_64.patch (876 bytes ) - added by umccullough 7 years ago.
Updated patch with proper email

Download all attachments as: .zip

Change History (4)

comment:1 by umccullough, 7 years ago

patch: 01

comment:2 by anevilyak, 7 years ago

Owner: changed from nobody to anevilyak
Status: newin-progress

by umccullough, 7 years ago

Updated patch with proper email

comment:3 by anevilyak, 7 years ago

Resolution: fixed
Status: in-progressclosed

Applied in hrev46418, thanks! It should further be noted that it fixes a memory leak, as the previous approach removed all the menu items without also deleting them.

Note: See TracTickets for help on using tickets.