Skip to content

Fixup msvc static builds

Move includes out of anon namespace.

The included file was pulling in and defining the Win32 assert implementation '_wassert' both inside and outside of the anonymous namespace, leading to ambiguous function call errors on static debug win32 builds.

See mailing list discussions: http://public.kitware.com/pipermail/vtkusers/2016-April/094860.html http://public.kitware.com/pipermail/vtkusers/2016-April/094854.html http://public.kitware.com/pipermail/vtkusers/2016-April/094814.html

Add missing 'inline' statements.

Since vtkArrayListTemplate.h includes vtkArrayListTemplate.txx, all non-templated methods defined in the implementation file need to be marked inline to prevent warnings about ODR violations on static msvc builds.

Merge request reports