Hello,
/usr/bin/castxml -o
/«PKGBUILDDIR»/BUILD/Wrapping/itkDenseFiniteDifferenceImageFilter.xml
[...]
/usr/include/i386-linux-gnu/bits/mathinline.h:948:9: error: '(anonymous
union at /usr/include/i386-linux-gnu/bits/mathinline.h:948:9)' cannot be
defined in a type specifier
(((((union { double __d; int __i[2]; }) {__d: __x}).__i[1]
^
/usr/include/i386-linux-gnu/bits/mathinline.h:948:55: error: member
reference base type 'void' is not a structure or union
(((((union { double __d; int __i[2]; }) {__d: __x}).__i[1]
As you can see, this is actually a bug in castxml, which is used to parse
the files and create XML descriptions of the code as an intermediate step
to create Python bindings. CastXML uses LLVM as a backend, hence there may
be incompatibilities.
Since I'm currently on mobile devices only and don't have my GitHub
password, would you please consider filing a bug upstream [1] . They are
quite responsive (at least on weekdays).
Best,
Gert
[1] https://github.com/CastXML/CastXML