Biswapriyo Nath wrote:
> AFAIK, HAVE_VISIBILITY is specific to autotools
> and it is not defined by the compiler itself.

Sure. But the piece of documentation we're talking about is in the
Gnulib manual, and Gnulib assumes Autoconf.

> gcc documentation also suggests to use _WIN32[1].
> 
> [1]: https://gcc.gnu.org/wiki/Visibility

It also suggests to use __declspec on Cygwin. Which is equally useless,
since on Cygwin HAVE_VISIBILITY=1 as well, and the Cygwin linker has
magic that makes __declspec mostly useless.

Bruno




Reply via email to