This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: private (class)function symbol pruning


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]