On Wed, Dec 10, 2014 at 3:28 PM, Heikki Linnakangas <hlinnakangas@vmware.com> wrote: >> Care to code it up? > > Here you are.
That was quick.
You need to add a semicolon to the end of line 20 in pairingheap.c.
In addition to the semicolon, it doesn't build under cassert. There are some pairingheap_empty that need to be pairingheap_is_empty, and snapmgr.c needs an address of operator near line 355 and something is wrong in snapmgr.c near line 811.