This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc visibility used by moz
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