This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: RFC: Make dllimport/dllexport imply default visibility
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Ross Ridge'" <rridge at csclub dot uwaterloo dot ca>, <gcc at gcc dot gnu dot org>
- Date: Mon, 18 Jun 2007 02:40:06 +0100
- Subject: RE: RFC: Make dllimport/dllexport imply default visibility
- References: <20070617171655.1B31C74028@caffeine.csclub.uwaterloo.ca>
On 17 June 2007 18:17, Ross Ridge wrote:
> Daniel Jacobowitz writes:
>> The minimum I'd want to accept this code would be a complete and useful
>> example in the manual; since Mark and Danny say this happens a lot
>> on Windows
>
> I don't understand how this issue can come up at all on Windows. As far
> I know, visibility is an ELF-only thing, while DLLs are a PE-COFF-only
> thing. Is there some platform that supports both sets of attributes?
I'm fairly sure it's a non-issue for windows. I think that
dllimport/dllexport are implemented on more than just windows but I'm not
sure. What they mean on any other platform is anyone's guess, but one thing's
for sure: visibility attributes apply to ELF symbols and not anything else at
all.
cheers,
DaveK
--
Can't think of a witty .sigline today....