-
Notifications
You must be signed in to change notification settings - Fork 2
Description
I leave in the dropbox the folder ErrorBRIValue, so you can replicate it just updating the path to cdboost in the make file.
I get the following compiling error.
In file included from main.cpp:14:0:
../../../DESTimes/BRIValue.hpp: In member function ‘BRIValue& BRIValue::operator/=(const BRIValue&)’:
../../../DESTimes/BRIValue.hpp:86:18: error: ‘class BRIValue’ has no member named ‘inf’
if (!this->inf) {
^
../../../DESTimes/BRIValue.hpp: In member function ‘BRIValue& BRIValue::operator*=(const BRIValue&)’:
../../../DESTimes/BRIValue.hpp:97:18: error: ‘class BRIValue’ has no member named ‘inf’
if (!this->inf && o._inf) {
^
../../../DESTimes/BRIValue.hpp: In function ‘bool operator==(const BRIValue&, const BRIValue&)’:
../../../DESTimes/BRIValue.hpp:32:10: error: ‘bool BRIValue::_inf’ is private
bool _inf;
^
../../../DESTimes/BRIValue.hpp:150:11: error: within this context
if (lhs._inf && rhs._inf) return (lhs._possitive == rhs._possitive);
^
../../../DESTimes/BRIValue.hpp:32:10: error: ‘bool BRIValue::_inf’ is private
bool _inf;
^
../../../DESTimes/BRIValue.hpp:150:23: error: within this context
if (lhs._inf && rhs._inf) return (lhs._possitive == rhs._possitive);
^
../../../DESTimes/BRIValue.hpp:33:10: error: ‘bool BRIValue::_possitive’ is private
bool _possitive;
^
../../../DESTimes/BRIValue.hpp:150:41: error: within this context
if (lhs._inf && rhs._inf) return (lhs._possitive == rhs._possitive);
^
../../../DESTimes/BRIValue.hpp:33:10: error: ‘bool BRIValue::_possitive’ is private
bool _possitive;
^
../../../DESTimes/BRIValue.hpp:150:59: error: within this context
if (lhs._inf && rhs._inf) return (lhs._possitive == rhs._possitive);
^
../../../DESTimes/BRIValue.hpp:32:10: error: ‘bool BRIValue::_inf’ is private
bool _inf;
^
../../../DESTimes/BRIValue.hpp:151:16: error: within this context
else if (lhs._inf || rhs._inf) return false;
^
../../../DESTimes/BRIValue.hpp:32:10: error: ‘bool BRIValue::_inf’ is private
bool _inf;
^
../../../DESTimes/BRIValue.hpp:151:28: error: within this context
else if (lhs._inf || rhs._inf) return false;
^
../../../DESTimes/BRIValue.hpp:31:26: error: ‘boost::rational BRIValue::_value’ is private
boost::rational _value;
^
../../../DESTimes/BRIValue.hpp:152:15: error: within this context
return (lhs._value == rhs._value);
^
../../../DESTimes/BRIValue.hpp:31:26: error: ‘boost::rational BRIValue::_value’ is private
boost::rational _value;
^
../../../DESTimes/BRIValue.hpp:152:29: error: within this context
return (lhs._value == rhs._value);
^
../../../DESTimes/BRIValue.hpp: In function ‘bool operator<(const BRIValue&, const BRIValue&)’:
../../../DESTimes/BRIValue.hpp:32:10: error: ‘bool BRIValue::_inf’ is private
bool _inf;
^
../../../DESTimes/BRIValue.hpp:160:11: error: within this context
if (lhs._inf && lhs._possitive) return false;
^
../../../DESTimes/BRIValue.hpp:33:10: error: ‘bool BRIValue::_possitive’ is private
bool _possitive;
^
../../../DESTimes/BRIValue.hpp:160:23: error: within this context
if (lhs._inf && lhs._possitive) return false;
^
../../../DESTimes/BRIValue.hpp:32:10: error: ‘bool BRIValue::_inf’ is private
bool _inf;
^
../../../DESTimes/BRIValue.hpp:161:16: error: within this context
else if (lhs._inf && !lhs._possitive) return !(rhs._inf && !rhs._possitive);
^
../../../DESTimes/BRIValue.hpp:33:10: error: ‘bool BRIValue::_possitive’ is private
bool _possitive;
^
../../../DESTimes/BRIValue.hpp:161:29: error: within this context
else if (lhs._inf && !lhs._possitive) return !(rhs._inf && !rhs._possitive);
^
../../../DESTimes/BRIValue.hpp:32:10: error: ‘bool BRIValue::_inf’ is private
bool _inf;
^
../../../DESTimes/BRIValue.hpp:161:54: error: within this context
else if (lhs._inf && !lhs._possitive) return !(rhs._inf && !rhs._possitive);
^
../../../DESTimes/BRIValue.hpp:33:10: error: ‘bool BRIValue::_possitive’ is private
bool _possitive;
^
../../../DESTimes/BRIValue.hpp:161:67: error: within this context
else if (lhs._inf && !lhs._possitive) return !(rhs._inf && !rhs._possitive);
^
../../../DESTimes/BRIValue.hpp:32:10: error: ‘bool BRIValue::_inf’ is private
bool _inf;
^
../../../DESTimes/BRIValue.hpp:162:16: error: within this context
else if (rhs._inf && rhs._possitive) return true;
^
../../../DESTimes/BRIValue.hpp:33:10: error: ‘bool BRIValue::_possitive’ is private
bool _possitive;
^
../../../DESTimes/BRIValue.hpp:162:28: error: within this context
else if (rhs._inf && rhs._possitive) return true;
^
../../../DESTimes/BRIValue.hpp:32:10: error: ‘bool BRIValue::_inf’ is private
bool _inf;
^
../../../DESTimes/BRIValue.hpp:163:16: error: within this context
else if (rhs._inf) return false;
^
../../../DESTimes/BRIValue.hpp:31:26: error: ‘boost::rational BRIValue::_value’ is private
boost::rational _value;
^
../../../DESTimes/BRIValue.hpp:164:15: error: within this context
return (lhs._value < rhs._value);
^
../../../DESTimes/BRIValue.hpp:31:26: error: ‘boost::rational BRIValue::_value’ is private
boost::rational _value;
^
../../../DESTimes/BRIValue.hpp:164:28: error: within this context
return (lhs._value < rhs._value);
^
../../../DESTimes/BRIValue.hpp: In function ‘std::ostream& operator<<(std::ostream&, const BRIValue&)’:
../../../DESTimes/BRIValue.hpp:32:10: error: ‘bool BRIValue::_inf’ is private
bool _inf;
^
../../../DESTimes/BRIValue.hpp:181:9: error: within this context
if (t._inf) {
^
../../../DESTimes/BRIValue.hpp:33:10: error: ‘bool BRIValue::_possitive’ is private
bool _possitive;
^
../../../DESTimes/BRIValue.hpp:182:11: error: within this context
if (t._possitive)
^
../../../DESTimes/BRIValue.hpp:31:26: error: ‘boost::rational BRIValue::_value’ is private
boost::rational _value;
^
../../../DESTimes/BRIValue.hpp:187:13: error: within this context
os << t._value;
^
../../../DESTimes/BRIValue.hpp: At global scope:
../../../DESTimes/BRIValue.hpp:192:32: error: expected initializer before ‘std’
inline std::istream& operator>>std::istream& is, BRIValue