error: "no newline at end of file"

Manuel López-Ibáñez lopezibanez@gmail.com
Tue Mar 27 13:06:00 GMT 2007


On 27/03/07, Martin Michlmayr <tbm@cyrius.com> wrote:
> * Manuel López-Ibáñez <lopezibanez@gmail.com> [2007-03-27 13:13]:
> > So if you are seeing this in C++, the change was intentional because
> > PR24924 was fixed. If you are seeing it in C and you are not using
> > pedantic-errors, then it is probably a bug.
>
> Thanks for the explanation - this explains what I'm seeing.  Is there
> a good reason against changing this particular warning from
> CPP_DL_PEDWARN to CPP_DL_WARNING?  Quite a few packages in Debian fail
> to build because of this and it seems overly strict to me.  However, if
> it'll remain an error with C++ code, I'll start filing bugs on these
> packages.

I cannot answer why this is a pedwarn or why C++ emits pedantic errors
by default. I only made current behaviour more consistent and fixed an
open and confirmed bug (one less, 2700 to go).

Cheers,

Manuel.



More information about the Gcc mailing list