hi there,
i guess this ones is really silly.
what is this warning : "no newline at the end of file" while compiling a c file.
is it a serious one?
thank you.
thank you.
It means the last line of code in the file does not have a newline after it.Quote:>hi there,
>i guess this ones is really silly.
>what is this warning : "no newline at the end of file" while compiling a c file.
No, but certain old compilers(which you'll never use anyway) might be confused.Quote:>is it a serious one?
--
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
> Also, some other Unix tools, which you might use, may be confused. Many
> Unix applications expect all lines in a text file to end in newline, and if
> the last line doesn't they'll ignore it.
(setq require-final-newline t)
... to make sure that the last line is always complete (with regard to
the convention that a newline character marks the end of a line).
--
--Ed L Cashin | PGP public key:
1. summery newline to newline newline
2. dilinux-->drop in linux help
3. UNIX newline '\n' vs Windows Newline
5. WARNING THIS IS A DUMB QUESTION: You have bben warned!
6. need a secure, flexable method to limit/restrict anonymous ftp
7. Arguing is silly... fun, but silly.
8. Fractal program for Linux/X11
9. silly MTU problem? Or am I silly?
10. newline character question
12. sed in ksh question : howto substitute-in a newline
13. Newbie question: delete newline character with sed