This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] system_error, round one
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: Benjamin Kosnik <bkoz at redhat dot com>, libstdc++ at gcc dot gnu dot org
- Date: Sat, 12 May 2007 23:44:13 +0200
- Subject: Re: [v3] system_error, round one
- References: <46448CB7.1090805@redhat.com> <46449A0F.9080904@suse.de>
Paolo Carlini wrote:
Bnjamin, your additional exports reminded me a very long standing
minor issue of our library: we have got __verify_grouping, which
isn't a template, neither is inline, but isn't exported from the
library, instead is declared static. That means will be duplicated in
each user binary, sigh. Can you see anything wrong with simply moving
it in locale .cc file and export it? Or something else?
In practice, the issue is even less serious than I thought. Actually,
for char and wchar_t the function is only called by other functions
exported by the library anyway, thus redundant copies cannot happen in
user binaries. Still inside the .so there are *two* ("t"-type) copies of
__verify_grouping...
Paolo.