|
Boost : |
From: Daryle Walker (darylew_at_[hidden])
Date: 2002-07-14 02:15:24
on 7/13/02 8:16 AM, David Abrahams at david.abrahams_at_[hidden] wrote:
> In crc_test.cpp I notice:
>
> #ifndef BOOST_MSVC
> // Explicit template instantiations
> // (needed to fix a link error in Metrowerks CodeWarrior Pro 5.3)
> template class crc_tester<16, 0x1021, 0xFFFF, 0, false, false>;
> template class crc_tester<16, 0x8005, 0, 0, true, true>;
> template class crc_tester<32, 0x04C11DB7, 0xFFFFFFFF, 0xFFFFFFFF, true,
> true>;
> #endif
>
>
> That comment makes no sense to me. if it's a CW-specific workaround, why
> can't you check for __MWERKS__?
I originally added the instantiations so my compiler can work. Their
presence should not be a problem to any other compiler, but someone (Beman?)
told me that MSVC6 choked on them. So the current result is from patching a
patch.
-- Daryle Walker Mac, Internet, and Video Game Junkie darylew AT mac DOT com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk