Skip to content

Fix wrapper errors due to missing macros

David Gobbi requested to merge dgobbi/vtk:wrapper-errors into master

Fix for Issue #16919 (closed)

This makes the wrappers play nice with kwiml, which was added to VTK 7.1. For type sizes, endianness, etc. kwiml checks compiler macros instead of using cmake to generate config headers via try-compile. Hence, the wrappers must define the macros that kwiml uses, if the native compiler defines those macros.

Also included is a fix for the use of the "volatile" keyword in places where the wrapper previously did not allow it.

Merge request reports