Boost logo

Boost :

From: Lars Gullik Bjønnes (larsbj_at_[hidden])
Date: 2002-10-22 10:21:09


This is a comment in our code currently:

    // OK, this is ugly, but it is the only workaround I found to compile
    // with gcc (any version) on a system which uses a non-GNU toolchain.
    // The problem is that gcc uses a weak symbol for a particular
    // instantiation and that the system linker usually does not
    // understand those weak symbols (seen on HP-UX, tru64, AIX and
    // others). Thus we force an explicit instanciation of this particular
    // template (JMarc)
    template class boost::detail::crc_table_t<32, 0x04C11DB7, true>;

Do any of you have ideas for a better solution?

-- 
	Lgb

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk