[Ffmpeg-devel] [patch] gcc4 visibility support

Erik Slagter erik
Wed Jun 7 11:55:29 CEST 2006


On Wed, 2006-06-07 at 10:52 +0100, M?ns Rullg?rd wrote:
> > At the risk of talking utterly non-sense: in what respect does this
> > concept differ from declaring a symbol static or non-static?
> 
> It is the same concept, but applied at the shared library level rather than
> individual object files.  Internal functions and data need to be accessible
> from multiple source files, so declaring them static is not an option, but
> hiding them from apps linking to a shared library can be a good thing.  The
> visibility attribute has no effect on static libraries, as these are merely
> a collection of object files.

Yep, I already see the flaw in my reasoning. In that case imho it's an
interesting concept.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2771 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060607/b12f8827/attachment.bin>



More information about the ffmpeg-devel mailing list