> Adding /EHsc does not fix the problem.
> detail/is_function_ptr_tester.hpp is still needed, as well as other
> three boost files.
>
> Bo
>

Well, yes since it is the missing header that caused the error. The
obvious solution is to include the proper boost includes. If you already
do it might be a little bit more complicated to debug this.

The funny thing about not compiling with /EHsc is that on the first
exception thrown your program will just crash :) - it took me a while to
figure out why when I first saw this since I came from the Linux/Unix
world and couldn't understand why MSVC would produce faulty output,
especially since using exception in C++ isn't exactly unusual.

Cheers,

Michael

Reply via email to