/in/foo.c:3:1: error: unknown type name 'bool'
bool PrimeCount(int x)
^~~~
/in/foo.c: In function 'PrimeCount':
/in/foo.c:8:11: error: 'false' undeclared (first use in this function)
return false;
^~~~~
/in/foo.c:8:11: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:9:9: error: 'true' undeclared (first use in this function)
return true;
^~~~
/in/foo.c: In function 'main':
/in/foo.c:29:6: error: expected ')' before 'num1'
num1++;
^~~~
/in/foo.c:34:1: error: expected expression before '}' token
}
^
/in/foo.c:34:1: error: expected declaration or statement at end of input
/in/foo.c:25:13: warning: unused variable 'num2' [-Wunused-variable]
int num1=0,num2=0;
^~~~
/in/foo.c:25:6: warning: unused variable 'num1' [-Wunused-variable]
int num1=0,num2=0;
^~~~
/in/foo.c: In function 'PrimeCount':
/in/foo.c:10:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^