I am wondering how to print (using printf) values of type idx_t reliably without assuming that idx_t == ptrdiff_t and without conversion to uintptr_t.
Would it make sense to add PRIxxx and SCNxxx macros (as those found in inttypes.h) to idx.h? Thanks, Marc