fork download
  1. int main()
  2. {
  3. struct a;
  4. a * p;
  5. union b;
  6. b * p1;
  7. enum c;
  8. c * p2;
  9. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:4: error: ‘a’ undeclared (first use in this function)
prog.c:4: error: (Each undeclared identifier is reported only once
prog.c:4: error: for each function it appears in.)
prog.c:4: error: ‘p’ undeclared (first use in this function)
prog.c:6: error: ‘b’ undeclared (first use in this function)
prog.c:6: error: ‘p1’ undeclared (first use in this function)
cc1: warnings being treated as errors
prog.c:7: error: ISO C forbids forward references to ‘enum’ types
prog.c:8: error: ‘c’ undeclared (first use in this function)
prog.c:8: error: ‘p2’ undeclared (first use in this function)
stdout
Standard output is empty