This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: private (class)function symbol pruning
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: Karl Vogel <karl dot vogel at seagha dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 18 Jul 2004 16:55:02 +0200
- Subject: Re: private (class)function symbol pruning
- References: <200407181438.33613.karl.vogel@seagha.com>
* Karl Vogel:
> 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?!
Inline member functions have access to these private members and might
be compiled into application code.