restbed icon indicating copy to clipboard operation
restbed copied to clipboard

Enable build with -fvisibility=hidden

Open bansan85 opened this issue 3 years ago • 0 comments

I tried to build and run a program with -fsanitize=cfi (and -flto=thin -fvisibility=hidden -fno-sanitize-trap=cfi) according to the clang documentation.

So with this option, all class are by default hidden.

According to GCC documentation, the C++ visibility support should be __attribute__ ((visibility ("default"))) for *_EXPORT with Linux.

bansan85 avatar Dec 08 '21 17:12 bansan85