F
friendfish
Anyone can told me about the warrning which GCC generated as following:
"No newline at end of file"?
"No newline at end of file"?
Anyone can told me about the warrning which GCC generated as following:
"No newline at end of file"?
fnegroni said:By convention, in a Unix "text" file, all lines are terminated by the
newline character.
Most Unix text editors respect this convention.
gcc is warning you that the file is not conforming to the convention,
which means the last line might have been truncated and therefore
you should look into that as it is a potential problem.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.