Skip to main content

All Questions

Tagged with
9 votes
3 answers
14k views

Symbol visibility using g++

I compiled a C++ library under Linux/Mac with its symbols hidden. I've used __attribute__ ((visibility("hidden"))) for all my classes and compiled with options (-c -O2 -fPIC -MMD -MP -MF). ...
JoeSlav's user avatar
  • 4,735