[haiku-bugs] [Haiku] #10237: [PATCH] Fix serialconnect build on x86_64

  • From: "umccullough" <trac@xxxxxxxxxxxx>
  • Date: Sat, 23 Nov 2013 01:42:49 -0000

#10237: [PATCH] Fix serialconnect build on x86_64
----------------------------------+------------------------------
 Reporter:  umccullough           |        Owner:  nobody
     Type:  bug                   |       Status:  new
 Priority:  normal                |    Milestone:  R1
Component:  Applications          |      Version:  R1/Development
 Keywords:  serialconnect x86_64  |   Blocked By:
 Blocking:                        |  Has a Patch:  0
 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.

 http://mmadia.dyndns.org:8010/builders/x86_64-any-
 host/builds/1263/steps/%5Bx86_64%5D/logs/stdio

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

--
Ticket URL: <http://dev.haiku-os.org/ticket/10237>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: