Boost logo

Boost :

From: Bronek Kozicki (brok_at_[hidden])
Date: 2003-12-16 12:15:17

On Mon, 15 Dec 2003 20:21:01 +0100, Bronek Kozicki wrote:

Here's what happens:

includes (line 12) file
includes (line 13) file
includes (line 19) file
includes (line 15) file
which contains (starting with line 162) following code:
namespace boost{

template <class T, T val>
struct integral_constant
: public mpl::integral_c<T,val> {};

  <cut - template specializations/>
typedef integral_constant<bool, true> true_type;
typedef integral_constant<bool, false> false_type;

file (mentioned above)
also include (line 15) file
which contains (starting with line 22) following code:
namespace boost {

  struct ct_if_error { };

  struct true_type { enum { value = true }; };
  struct false_type { enum { value = false }; };

This means that symbols "true_type" and "false_type" in namespace boost
are defined twice. Problem occurs while compiling following files:

In case of thread library, file "ct_if.hpp" is being included through

I'm using most current boost copy from CVS @ . How do you manage
to build boost? Have I missed something?



PS. sorry for previous double post.

Boost list run by bdawes at, gregod at, cpdaniel at, john at