Visibility Warnings in waLBerla
The python module is built with CXX_VISIBILITY_PRESET
, while the rest of the modules is not built with this option:
https://i10git.cs.fau.de/walberla/walberla/-/blob/master/apps/pythonmodule/CMakeLists.txt#L28.
This leads to many warnings during the compilation for some compilers: This was likely caused by different translation units being compiled with different visibility settings
.
The issue is caused because static variables should not have hidden visibility.
There are two solutions to solve the problem. Either remove the hidden visibility for the python module or attach static variables with attributes to make them visible.
Edited by Michael Kuron