[vtk-developers] Changes to vtkPlane broke build

Mathieu Malaterre mathieu.malaterre at gmail.com
Fri Jan 8 08:34:45 EST 2010


On Fri, Jan 8, 2010 at 2:14 PM, Moreland, Kenneth <kmorel at sandia.gov> wrote:
> Not being as grumpy as John this morning, I can see how such a mistake could
> easily be made.  I am more confused as to why it did not give errors in
> MSVC.  I thought that  when a library or dll was created that the linker
> required that all symbols were accounted for (unlike Unix-type linkers).  At
> least that was how it worked in MSVC 6 and I think .net when I was still
> using it.  Maybe that changed.

A long time ago a similar problem occur with Filtering vs Rendering.
The problem was that the function was inlined, and thus was not
detected by compilers used on regular dashboards...

> At any rate, what surprises me a little is that the Filtering directory is
> apparently listed in the include directories when compiling the Common
> library.  Why is that?  If that directory was not listed in the includes
> list, then the compiler would have complained immediately when vtkPlane
> included vtkDataSet.h, and the error could have been caught immediately.

Yes, this should definitely fixed those in the long term.

2cts
-- 
Mathieu



More information about the vtk-developers mailing list