[vtk-developers] Recent dashboard errors

David Gobbi david.gobbi at gmail.com
Tue Jun 17 11:19:57 EDT 2014


On Mon, Jun 16, 2014 at 8:09 PM, Ben Boeckel <ben.boeckel at kitware.com> wrote:
>
> It makes functions which read lines from files consistent and ensures
> that the last character is a newline on *every* line and the last line
> isn't "special" with its EOF and all.

More importantly, a file that doesn't end in a newline is in violation of the
C++ standard.  Though it's a violation that is so common that all compilers
can handle the special case when it is missing.

> FWIW, Vim (of course ;) ) just does the Right Thing(tm) here and doesn't
> show the "dangling" newline that some...other editors show (VS at least; I
> forget what other editors do though).

I have no idea what other editors do, because I only use vim!

  David



More information about the vtk-developers mailing list