The PED_ASSERT makro in parted 2.4 was changed and now only takes a single argument instead of two. Currently fdisk still gives a second argument (second argument is always "return 0" which is the default behaviour in parted now).

This can lead to compile errors together with parted 2.4 as seen in the first post:
common.c:366:79: error: macro "PED_ASSERT" passed 2 arguments, but takes just 1
...