我正在尝试编译https://code.google.com/p/feed-reader-lib/但在 Feed.cpp 上它给了我一个奇怪的错误。
/usr/include/boost/thread/pthread/recursive_mutex.hpp:40:9: error: ‘boost::recursive_mutex::recursive_mutex(const boost::recursive_mutex&)’ is private
Feed.cpp:49:69: error: within this context
我对 C++ 还太陌生,所以我绝对无法解释这里可能出了什么问题,因为编译器在声明状态下会引发此错误。上面的库没有什么可能是错误的——相反,在我看来,boost 库是错误的(因为它错误地将其设为boost::recursive_mutex::recursive_mutex(const boost::recursive_mutex&)
私有)。但肯定不能这样。
我在这里错过了什么?