3 ms·
A minor point, but important to understand: the error came from the linker, not the compiler. It compiled just fine.
by mtdewcmu 13y ago
A minor point, but important to understand: the error came from the linker, not the compiler. It compiled just fine.
- joshguthrie 13y agoRegarding that: >an empty file is not a valid C program, and the compiler will not hesitate to tell that to you with a big, fat error message. Didn't someone win a IOCCC some years ago by providing an empty file that got compiled successfully?
- mtdewcmu 13y agoWell, compiling an empty file is a piece of cake. An empty file is valid C, just not a complete program.