[Solved] C error with Flex: type specifier missing?
Assembled from comments (because it was easier than finding a dupe): In modern C (that is, C from this century), all functions need a return type and the only two legal prototypes for main are: int main(void) int main(int argc, char* argv[]) An obsolescent way to write the first is int main(). On Max OS, … Read more