I'm trying to port a ray tracing application to run natively on a Xeon Phi, but i'm having problems with boost (the application originally uses Boost Thread to setup the main worker threads, and OpenMP for the parallel tasks)
I'm using boost 1.49, which i compiled for the MIC following this guide:
But when compiling my application, i get the following error:
/usr/include/boost/exception_ptr.hpp(41): warning #811: exception specification for implicitly declared virtual function "boost::exception_ptr::~exception_ptr" is incompatible with that of overridden function "boost::exception_detail::exception_ptr_base::~exception_ptr_base"
include/atomic.h(42): error: name followed by "::" must be a class or namespace name
} while (boost::interprocess::ipcdetail::atomic_cas32(
compilation aborted for src/renderEngine.cpp (code 2)
make: *** [build/renderEngine.o] Error 2
Is there any incompatibility between boost thread and the MIC, or is this error being caused by some other issue?