Boost logo

Boost :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2004-08-17 14:40:09


Rozental, Gennadiy wrote:

> Why do you need anything more then:
>
> +#if BOOST_WORKAROUND(__DECCXX_VER, BOOST_TESTED_AT(60590041))
> +typedef const_string literal_string;
> +#else
> typedef const_string const literal_string;
> +#endif

Because I get duplicated symbols when linking otherwise. Therefore you
need to use either

c_literal_string LOG_LEVEL = "BOOST_TEST_LOG_LEVEL";

or

literal_string const LOG_LEVEL = "BOOST_TEST_LOG_LEVEL";

in the header file.

Markus


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