|
Boost : |
Subject: Re: [boost] [atomic] [release] possible linking problem with atomic
From: Tim Blechmann (tim_at_[hidden])
Date: 2013-01-22 12:11:31
>>> >> That's a bit 'sad' given that 'most' platforms/compilers support builtin
>>> >> atomic operations/instructions...
>>> >> Is there anyway (e.g. define a configuration macro) to make the library work
>>> >> as header-only on those platforms (e.g. x86 and ARM)?
>> >
>> > No, currently there isn't one.
> You mean that even if I only instantiate Boost.Atomic templates for hardware/OS
> supported types while only including the header(s) (w/o explicit linking) I will
> get linker errors?
i'm not really familiar with the autolinking stuff for win32, but
checking the sources, it seems you can disable it with by defining
BOOST_ATOMIC_NO_LIB ...
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk