Boost logo

Boost-Build :

Subject: Re: [Boost-build] Problems using Borland C++
From: Jacques63 (santiagobasaldua_at_[hidden])
Date: 2009-06-24 06:22:52


> What libraries do you need?

filesystem, format, io, barrier, condition, mutex, thread, xtime, xtime_get,
shared_ptr

> You did not provide the complete error message so I don't know where this
> error comes from, but
> might want to specify only the desired ones using

The error is produced by trying to use enable_if which is not defined,
probably because the
identification of the compiler sets BOOST_NO_SFINAE to 1 and that skips the
definition (My guess.)

  template <class Cond, class T = detail::enable_if_default_T>
  struct enable_if : enable_if_does_not_work_on_this_compiler<T>
  { };

> > Other advices to this problem suggest that the compiler is not
> supported,
> > but boost claims to support it.

> Where such a claim is made? In general, no such claims can be made about
> *all* of boost.

  I was using boost 1.33.1 as suggested by the author of the software, but
have also tried 1.39.0
and neither compiles.

The documentation of 1.33.1 file index.htm, in the FIRST page of that
documentation:

"Supported Compilers" includes Borland C++ 5.6.4 on Windows. Which is older
than my Borland C++ 5.82
 for Win32. I don't think v 5.6.4 supports SFINAE either.

-- 
View this message in context: http://www.nabble.com/Problems-using-Borland-C%2B%2B-tp24165754p24182191.html
Sent from the Boost - Build mailing list archive at Nabble.com.

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk