summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-09-29 12:28:05 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-09-29 12:28:05 -0700
commit6a9cde84263e336a6508c0c965f963dfa5d65759 (patch)
treeaaabb14edd293fc326a35c65a77db61deb457109 /include
parent420686cb5f49f57e0feb51ed55b3a2ddd5b9febe (diff)
downloadtmwa-6a9cde84263e336a6508c0c965f963dfa5d65759.tar.gz
tmwa-6a9cde84263e336a6508c0c965f963dfa5d65759.tar.bz2
tmwa-6a9cde84263e336a6508c0c965f963dfa5d65759.tar.xz
tmwa-6a9cde84263e336a6508c0c965f963dfa5d65759.zip
Do shared visibility more scalably
Diffstat (limited to 'include')
-rw-r--r--include/tmwa/shared.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/tmwa/shared.hpp b/include/tmwa/shared.hpp
index c624e54..95174ab 100644
--- a/include/tmwa/shared.hpp
+++ b/include/tmwa/shared.hpp
@@ -21,8 +21,10 @@
#include <cstdbool>
+// TODO also make sure any exception classes are public
+#pragma GCC visibility push(default)
namespace tmwa
{
- __attribute__((visibility("default")))
void check_paths();
} // namespace tmwa
+#pragma GCC visibility pop