P
pete
Kenny said:#include <stdio.h>
int main(void) { printf("hello, world\n"); }
I compile it with all warning turned on and it still works fine.
It seems like it shouldn't compile to me.
stdio.h contains this declaration:
int vprintf(const char * restrict format, va_list arg);
and the va_list type isn't defined anywhere in the program.