http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61113
--- Comment #2 from jpakkane at gmail dot com ---
In that case it would fail. But you can make it work by doing this (assuming
compilation with -fvisibility=hidden):
class __attribute__ ((visibility("default"))) Thing final {
public:
void public
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61113
--- Comment #1 from Jonathan Wakely ---
(In reply to jpakkane from comment #0)
> That is, both the private and public methods are exported in the symbol
> table. The latter is wasteful because private methods can only be called
> from within the c