I incorporated the source files and includ path in my project, but when I go to build the project I get following error
include\zthread\Guard.h:494: error: there are no arguments to `isDisabled' that depend on a template parameter, so a declaration of `isDisabled' must be available
include\zthread\Guard.h:494: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
at this section of code
Code:
template <class LockType, class LockingPolicy>
Guard<LockType, LockingPolicy>::~Guard() throw() {
try {
if(!isDisabled())
LockingPolicy::destroyScope(*this);
} catch (...) { /* ignore */ }
}