| |||
| Home > Compiler Command-line Options > Command-line options > --default_definition_visibility=visibility | |||
This option controls the default ELF symbol visibility of extern variable and function definitions.
--default_definition_visibility=visibility
Where:
visibilityis default, hidden, internal,
or protected.
Use --default_definition_visibility=to
force the compiler to use the specified ELF symbol visibility for
all visibility extern variables and functions defined in
the source file, if they do not use __declspec(dll.
Unlike *)--hide_all, --no_hide_all,
this does not affect extern references.