gcc visibility used by moz
Gabriel Dos Reis
gdr@integrable-solutions.net
Wed Jul 12 21:31:00 GMT 2006
Tristan Wibberley <maihem@maihem.org> writes:
[...]
| I am suggesting that visibility attributes should *not* touch the C++
| type system in any way.
But then, at the same time you're talking of polymorphic types
(e.g. vtables).
| Since C++ doesn't have a notion of module a
| class that the C++ type system regards as hidden must be hidden from
| everything (in which case, you could just comment out the class
| definition instead) or nothing.
That brings us back to Mike's question. We are not making progress.
| I suggest that should be nothing, and
| that the linker should apply the visibility attributes to *its* notion
| of module.
Please elaborate.
-- Gaby
More information about the Gcc
mailing list