So I have this code (the unnecessary parts omitted):
#include <stdio.h>
#include "scene.h"
int main() {
while(1);
return 0;
}
And another file in the project called "scene.h".
When I compile, I get these errors:
new types may not be defined in a return type
extraneous 'int' ignored
invalid function declaration
All are talking about line 4.
If I remove line 2, it compiles fine (only because I haven't used anything from this file yet).
Any ideas on how to fix this?