-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stereo file has problems #32
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
make生成出现问题,问题是在vtkAtomic.h文件中报错: “detail” 不明确
原文位置在528行开始:
template <> class vtkAtomic<void*>
{
private:
typedef detail::AtomicOps<sizeof(void*)> Impl;
public:
vtkAtomic() : Atomic(0)
{
}
vtkAtomic(void* val)
: Atomic(reinterpret_castImpl::value_type(val))
{
}
vtkAtomic(const vtkAtomic<void*> &atomic)
: Atomic(reinterpret_castImpl::value_type(atomic.load()))
{
}
operator void*() const
{
return reinterpret_cast<void*>(Impl::Load(&this->Atomic));
}
void* operator=(void* val)
{
Impl::Store(&this->Atomic,
reinterpret_castImpl::value_type(val));
return val;
}
vtkAtomic<void*>& operator=(const vtkAtomic<void*> &atomic)
{
this->store(atomic.load());
return *this;
}
void* load() const
{
return reinterpret_cast<void*>(Impl::Load(&this->Atomic));
}
void store(void* val)
{
Impl::Store(&this->Atomic,
reinterpret_castImpl::value_type(val));
}
private:
Impl::atomic_type Atomic;
};
想请问是什么原因造成?
The text was updated successfully, but these errors were encountered: