3 ms·
Anyone experienced an old VisualStudio (was it with VC6 still) bug, where the compiler would flag the last line of the source file as an error, when it did not
by zoomablemind 5y ago
Anyone experienced an old VisualStudio (was it with VC6 still) bug, where the compiler would flag the last line of the source file as an error, when it did not terminate with a CR/LF newline? All code would clearly look correct in the editor, yet could not be built.
- relaxing 5y agoI don’t remember a bug around that behavior, but flagging a missing EOL as an error is correct. The C standard says all source files must end in a newline.