I don't how this is possible, but bctbx_strdup_printf() and bctbx_strcat_printf() did not have the gcc printf attributes.