http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54709
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-09-26
13:38:51 UTC ---
If you have a memcpy prototype and -fvisibility-hidden, without any pragmas
around the prototype tweaking the visibility, then this is IMHO a user bug, as
he promises then that memcpy is defined in the current shared library.
To use -fvisibility-hidden with standard headers, one needs to surround them
with pragmas.