Visibility on object libraries inconsistent across platforms
See this example.
On Linux-GNU, the DSO will not export bar_func_hidden()
.
On Windows-GNU, the DLL will export bar_func_hidden()
(and others). This is with MSYS2's cmake 3.17.3 and g++ 10.1.0.
I was thinking this maybe stems from the use of whole-archive
here.