mpaland/printf

Scawy big unkown type UwU

MikuChan03 opened this issue · 3 comments

Hi!!

Using your kawaii pwintf impwementation,
the compiler gets all funny about some silly size_t.

printf.h:78:29: error: unknown type name 'size_t'
 int snprintf(char* buffer, size_t count, const char* format, ...);
                                       ^~~~~~

It even dwew a line for us owo
I did some wesearch and it said, there's no sizy-wizy_t in stdarg.h.
Instead, I moved stddef.h fwom pwintf.c to pwintf.h, because
stddef.h is like totally the hood of size_t.

This fixie wixies the pwoblem
xD *starts twerking*

You are right.
This is a regression introduced by cd4481a . Sorry for that!
Neither the test suit nor my projects suffered from this problem cause <stddef.h> was included indirectly.

Created and fixed in 2.2.2

uz0t commented

what