[v3] system_error, round one

Paolo Carlini pcarlini@suse.de
Sat May 12 21:41:00 GMT 2007


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.



More information about the Libstdc++ mailing list