Is there any way to give printf a size_t without either casting it first or generating a compiler warning? (I always compile with -Wall.) printf("%zu", sizeof(whatever)); 来源:https://stackoverflow.com/questions/4150056/printf-for-size-t 标签 gcc printf string-formatting size-t