paurkedal/bdwgc — comment on commit 00fb4f757a8fb395ca43f13ea0927e3bb58c0bef
File:  line 0
By paurkedal:

I did not know there were libc implementations which rounds off PRIdPTR for printf. That does not sound like a sensible thing to do, since PTRdPTR is just a generic integer type (unlike size_t). But given the fact, I agree.

I looked at GC_default_warn_proc. It calls GC_err_printf, which calls vsnprintf, which should is compatible with the standard inttype.h macros, so I'm not sure I follow you on this point. Of course, the standard promotions are done for the arguments, so I believe on most platforms the arguments are at least word-sized.