Hello,
I found that compiling the following code occur some errors.
and the errors are:
It seems <printf.h> forget to define "FILE". Yes, I know we can solve these errors by including <stdio.h> before <printf.h>. But isn't it still a bug or misfeature?
I found that compiling the following code occur some errors.
Code:
#include <printf.h>
int main() { return 0; }
and the errors are:
Code:
In file included from foo.c:1:
/usr/include/printf.h:102: error: expected ')' before '*' token
/usr/include/printf.h:117: error: expected ')' before '*' token
/usr/include/printf.h:121: error: expected declaration specifiers or '...' before 'printf_function'
It seems <printf.h> forget to define "FILE". Yes, I know we can solve these errors by including <stdio.h> before <printf.h>. But isn't it still a bug or misfeature?