On Jun 17, 2007, at 6:40 PM, Dave Korn wrote:

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.

They also apply to macho symbols on darwin.

-Chris

Reply via email to