Merge request 10579 broke VTK-wasm compilation
Since !10579 (merged) Ioss requests __linux__
to be defined to include statfs
. When Emscripten is used, it seems that __linux__
is not defined but statfs
is still needed. Now when building VTK-wasm with -DVTK_MODULE_ENABLE_VTK_hdf5=YES
(which works since !10570 (merged)) an error appears: variable has incomplete type 'struct statfs'
.
It looks like replacing elif defined(__linux__)
by else
in Ioss_FileInfo.C line 36
fixes the issue.
Edited by Adrien Stucky