In method mitk::OptitrackTrackingDevice::ThreadStartTracking(void* pInfoStruct), the return type is declared as ITK_THREAD_RETURN_TYPE, which is a DWORD type (unsigned long).
This conflicts with the nullptr, which is returned.
Fix: Replace the nullptr with "0".