From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/gcc~13/visibility-pragmas.html | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 devdocs/gcc~13/visibility-pragmas.html (limited to 'devdocs/gcc~13/visibility-pragmas.html') diff --git a/devdocs/gcc~13/visibility-pragmas.html b/devdocs/gcc~13/visibility-pragmas.html new file mode 100644 index 00000000..1b65c7d6 --- /dev/null +++ b/devdocs/gcc~13/visibility-pragmas.html @@ -0,0 +1,8 @@ +

6.62.13 Visibility Pragmas

+#pragma GCC visibility push(visibility) +
#pragma GCC visibility pop

This pragma allows the user to set the visibility for multiple declarations without having to give each a visibility attribute (see Declaring Attributes of Functions).

In C++, ‘#pragma GCC visibility’ affects only namespace-scope declarations. Class members and template specializations are not affected; if you want to override the visibility for a particular member or instantiation, you must use an attribute.

+

+ © Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
+ https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/Visibility-Pragmas.html +

+
-- cgit v1.2.3