
Hello, I am using static link to boost.test in my project. Using that gives about 50 errors in MSVC compiler. I tried excluding enable_if header with defining that before unit_test inclusion and that seems to work. Is there any better ways to handle that? By the way I use version 1.35 .lib file linked to project. Thanks in advance.

n e
Hello,
I am using static link to boost.test in my project. Using that gives about 50 errors in MSVC compiler. I tried excluding enable_if header with defining that before unit_test inclusion and that seems to work. Is there any better ways to handle that? By the way I use version 1.35 .lib file linked to project.
Boost.Test doesn't use enable_if. What compiler r u using? Can you show a simple example? Gennadiy

Gennadiy Rozental wrote:
n e
writes: Hello,
I am using static link to boost.test in my project. Using that gives about 50 errors in MSVC compiler. I tried excluding enable_if header with defining that before unit_test inclusion and that seems to work. Is there any better ways to handle that? By the way I use version 1.35 .lib file linked to project.
Boost.Test doesn't use enable_if.
What compiler r u using? Can you show a simple example?
Gennadiy
Well I couldn't reproduce the problem with a simple effort in a new project but it *was* there in a complicated project (maybe it's there yet ). The project needs huge rewrite and cleanup so I may try again after that to see if the problem still persists. That may take time though. Thanks !
participants (2)
-
Gennadiy Rozental
-
n e