This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: [v3] system_error, round one


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.


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