« Return to Thread: Problems using Borland C++

Re: Problems using Borland C++

by Jacques63 :: Rate this Message:

Reply to Author | View in Thread

> 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.

 « Return to Thread: Problems using Borland C++