On Tuesday 15 October 2002 1:27 pm, Jean-Marc Lasgouttes wrote: > >>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> On Tuesday 15 October 2002 1:08 pm, Jean-Marc Lasgouttes wrote: > >> >>>>> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: > > Andre> What happens if you put an explicit instantiation > > >> somewhere in Andre> lyxsum.C: > > Andre> template boost::detail::crc_table_t<32, 79764919, > Andre> true>::table_; > > >> Indeed, adding template class > >> boost::detail::crc_table_t<32, 79764919, true>; fixes the > >> problem! > >> > >> This is certainly good enough for 1.2.2cvs, but a better > >> fix is needed for 1.3.0... > > Angus> What happens for "smart" compilers that already > instantaite Angus> this staic variable correctly. Will they > get confused by a Angus> duplicate? > > They are supposed to do it using a weak symbol, which > supposedly does the right thing in this case. > > Could you try that with your own 'smart' compiler?
Post me a patch (against 1.3 cvs), so I get it right and I'll try. Angus