« Return to Thread: Problems using Borland C++

Problems using Borland C++

by Jacques63 :: Rate this Message:

Reply to Author | View in Thread

Hi

I need to compile boost for the first time to build a third party program.

I am using Borland Developer Studio 2006, the compiler is: Borland C++ 5.82 for Win32

The error I get is (file: enable_if.hpp):

[C++ Error] enable_if.hpp(100): E2029 'enable_if_does_not_work_on_this_compiler<void>' must be a previously defined class or struct

I have googled a little and found that this may be becuase my compiler does not support SFINAE
"Substitution Failure Is Not An Error". That "feature" should be avoided by declaring BOOST_NO_SFINAE

That doesn't work.

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

Please help

 « Return to Thread: Problems using Borland C++