by Peter Nilsson <airia@[EMAIL PROTECTED]
>
May 7, 2008 at 08:33 PM
fnegroni wrote:
> On May 7, 7:47=EF=BF=BDpm, friendfish <friendf...@[EMAIL PROTECTED]
> wrote:
> > Anyone can told me about the warrning which GCC generated as
> > following: "No newline at end of file"?
>
> 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.
<http://groups.google.com/group/comp.lang.c/search?
group=3Dcomp.lang.c&q=3DNo+newline+at+end+of+file>
--
Peter