------- Comment #2 from singler at gcc dot gnu dot org 2008-01-15 13:20 ------- There are two general options to fix this bug: 1. Introduce a global variable, to be compiled into libstdc++.a and libstdc++.so. 2. Do the "template trick", i. e. pseudo-parametrize Settings as template class, to leave it to the compiler to merge the instantiations. The class would always have to instantiated with the same template arguments, but that could be hidden by a typedef.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34797