Quantcast
Viewing all articles
Browse latest Browse all 22112

Hiding C++ symbols with -fvisibility=hidden

I have a C++ library with a C API, and I have set the -fvisibility=hidden compiler flag,and then I have set __attribute__ ((visibility ("default"))) on C API methods.

However, I still see visible C++ symbols. When I create a debian package for my library,I get the following symbols file

Why are these symbols still visible ?


Viewing all articles
Browse latest Browse all 22112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>