gcc: Visibility Pragmas
1
1 6.61.13 Visibility Pragmas
1 --------------------------
1
1 '#pragma GCC visibility push(VISIBILITY)'
1 '#pragma GCC visibility pop'
1
1 This pragma allows the user to set the visibility for multiple
1 declarations without having to give each a visibility attribute
1 (⇒Function Attributes).
1
1 In C++, '#pragma GCC visibility' affects only namespace-scope
1 declarations. Class members and template specializations are not
1 affected; if you want to override the visibility for a particular
1 member or instantiation, you must use an attribute.
1