This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/19664] -fvisibility-inlines-hidden fails with gcc's extern template extension on amd64
- From: "andreas dot pokorny at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jan 2005 15:08:53 -0000
- Subject: [Bug target/19664] -fvisibility-inlines-hidden fails with gcc's extern template extension on amd64
- References: <20050128064457.19664.andreas.pokorny@gmx.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From andreas dot pokorny at gmx dot de 2005-01-29 15:08 -------
If it is a programmers bug, why does it happen only with amd64, but not with
ia32 or ia64?
> Actually this is not a gcc or a linker bug but a programmers.
> Basically -fvisibility=hidden -fvisibility-inlines-hidden says all I repeat
all functions (defined or not)
> as hidden.
This does not explain why gcc should fail to create the library. In my opinion
the programmer isnt the one to blame, he declared a strucutre, which should not
be exported to the library, and a function that should be exported. Within his
library he uses that structure, whats wrong about that?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19664