http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55958
Bug #: 55958
Summary: vtable hidden when compiling with
-fvisibility-ms-compat
Classification: Unclassified
Product: gcc
Version: 4.7.2
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55958
--- Comment #2 from Soren Soe 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 type
++
Assignee: unassigned at gcc dot gnu.org
Reporter: gnu at gonsoe dot com
Target Milestone: ---
The following code does not compile with gcc4.8.4 or gcc5.2.1. I have access
to an older 4.8.0 compiler where the code compiles ok, so this appears to be a
regression.
The
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99689
Soren Soe changed:
What|Removed |Added
CC||gnu at gonsoe dot com
--- Comment #5 from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99689
--- Comment #6 from Soren Soe ---
I should maybe mention that the same problem is reproducible using qemu-aarch64
and qemu-aarch64-static on an x86_64 host.
% aarch64-linux-gnu-g++ -O3 -static bug.cpp
% qemu-aarch64-static ./a.out
a.out: bug.cp