[Bug target/19664] -fvisibility-inlines-hidden fails with gcc's extern template extension on amd64

andreas dot pokorny at gmx dot de gcc-bugzilla@gcc.gnu.org
Sat Jan 29 15:09:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list