[vtk-developers] New wrapping code fails on no newline at end of file

Sean McBride sean at rogue-research.com
Mon Jul 19 16:21:56 EDT 2010


On Mon, 19 Jul 2010 16:12:42 -0400, Marcus D. Hanwell said:

>It is right, I think the C/C++ standard states that all source files end
>with a newline.

Correct.  See:
<http://gcc.gnu.org/ml/gcc/2001-07/msg01120.html>

gcc's -Wnewline-eof can warn about this.

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtk-developers mailing list