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

David Gobbi david.gobbi at gmail.com
Mon Jul 19 16:23:49 EDT 2010


I'll call this a bug in the wrappers, it isn't the job of the wrappers
to verify code correctness.

   David


On Mon, Jul 19, 2010 at 2:12 PM, Marcus D. Hanwell
<marcus.hanwell at kitware.com> wrote:
> Hi,
> One of the Titan developers discovered today that the new wrapping code
> fails with a syntax error if there is no new line at the end of a header
> file,
> *** SYNTAX ERROR found in parsing the header file
> It is right, I think the C/C++ standard states that all source files end
> with a newline. Should the wrappers enforce that though? It would be better
> to silently deal with it, or produce a clearer error message if at all
> possible. The error referred to line 75 of a 71 line header file. I don't
> think this used to cause an error, but haven't looked into it very deeply.
> Marcus
> --
> Marcus D. Hanwell, Ph.D.
> R&D Engineer, Kitware Inc.
> (518) 881-4937
>
> _______________________________________________
> 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://www.vtk.org/mailman/listinfo/vtk-developers
>
>
>



More information about the vtk-developers mailing list