Warning: the declaration declares nothing
3 answers
In pure C, the following code:
int;
typedef int;
causes the following warnings from GCC without warning options set:
x.c:1: warning: useless keyword or type name in empty declaration
x.c:1: warning: empty declaration
x.c:2: warning: useless keyword or type name in empty declaration
x.c:2: warning: empty declaration
Maybe you have something similar in your code?
+3
a source to share