This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: private (class)function symbol pruning
- From: "Giovanni Bajo" <giovannibajo at libero dot it>
- To: "Karl Vogel" <karl dot vogel at seagha dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Sun, 18 Jul 2004 22:24:00 +0200
- Subject: Re: private (class)function symbol pruning
- References: <200407181438.33613.karl.vogel@seagha.com>
Karl Vogel wrote:
> I was wondering why G++ exports private class functions in shared
> libraries and also how to prevent G++ from doing this, without having
> to add __attribute__((visibility ("hidden"))) to every private
> function?!
See: http://www.nedprod.com/programs/gccvisibility.html for a more detailed
description of the problem and a proposed patch which is waiting for review to
be included in GCC 3.5.0.
Giovanni Bajo