Moved debug_print declaration above datum_t so that its friend declaration works in clang.
Merge branch 'v1.15.x' into next