bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] doc: Fix example for all Win32 compiler


From: Bruno Haible
Subject: Re: [PATCH] doc: Fix example for all Win32 compiler
Date: Wed, 29 Dec 2021 11:51:20 +0100

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

[Prev in Thread] Current Thread [Next in Thread]