http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55958
--- Comment #2 from Soren Soe <gnu at gonsoe dot com> 2013-01-13 00:16:11 UTC --- Unfortunately this is a both a Linux and Windows project. I would like to reuse the windows export macros, have gcc default to -fvisibility-ms-compat so that everything except typeinfo and supposedly vtable is marked hidden, then explicitly export only what needs to be exported. My understanding is that -fvisibility-ms-compat is exactly for that purpose, but the hidden vtable is not consistent with windows.