This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: no newline at end of file
- To: John Levon <moz at compsoc dot man dot ac dot uk>
- Subject: Re: no newline at end of file
- From: Geoff Keating <geoffk at geoffk dot org>
- Date: 14 Jul 2001 19:51:29 -0700
- CC: gcc at gcc dot gnu dot org
- References: <20010715024419.A84310@compsoc.man.ac.uk>
John Levon <moz@compsoc.man.ac.uk> writes:
> What is the rationale for this warning ? What can break or is it a standards thing ?
I believe it's undefined behaviour in the C standard,
but some tools also don't like files that don't end in a newline.
--
- Geoffrey Keating <geoffk@geoffk.org>