[vtk-developers] Recent dashboard errors

Bill Lorensen bill.lorensen at gmail.com
Tue Jun 17 11:46:21 EDT 2014


emacs also adds the newline

On Tue, Jun 17, 2014 at 11:19 AM, David Gobbi <david.gobbi at gmail.com> wrote:
> 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
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>



-- 
Unpaid intern in BillsBasement at noware dot com



More information about the vtk-developers mailing list