------- Comment #6 from sebastian dot huber at embedded-brains dot de 2010-04-23 10:59 ------- (In reply to comment #5) > Simply removing this class now would break the ABI, which is not acceptable. > If Bug 43852 was resolved by adding a "quiet" mode, would that make this > enhancement unnecessary? That mode would also change the ABI, but would have > to be explicitly requested by users, and would be documented as changing the > ABI. > > Am I right in thinking that putting recursive_init_error in a separate file > would only help when using static linking? >
Yes, it helps only if you use static linking. >From my point of view moving this class implementation into a separate compilation unit would help in case size really matters. In these situations you likely use static linking, because otherwise you need a runtime infrastructure for dynamic linking which is also not that trivial. If you suppose that users who care about size always choose the "quiet" mode then this change is virtually unnecessary, but not optimal. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43863