| |||
| Home > Linker command-line options > --max_visibility=type | |||
This option controls the visibility of all symbol definitions.
--max_visibility=type
Where can
be one of:type
defaultDefault visibility.
protectedProtected visibility.
Use--max_visibility=protected to limit the
visibility of all symbol definitions. Global symbol definitions
that normally have default visibility, are given protected visibility
when this option is specified.