I pushed this patch in the end, after testing it with GCC and Clang on
Linux, and GCC on MinGW:
https://gitlab.com/nbdkit/nbdkit/-/commit/42d867eb972caa83a7a3f81920f6c20...
It's quite a large change, but -fvisibility=hidden is useful in
several situations.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/