https://bugs.kde.org/show_bug.cgi?id=431436
Wolfgang Bauer <wba...@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- Status|RESOLVED |REOPENED --- Comment #4 from Wolfgang Bauer <wba...@tmo.at> --- Sorry, but it still fails: [ 140s] /home/abuild/rpmbuild/BUILD/kseexpr-4.0.2.0/src/KSeExprUI/ControlSpec.cpp: In constructor 'KSeExpr::ExprScalarAssignSpec::ExprScalarAssignSpec(const KSeExpr::ExprAssignNode&)': [ 140s] /home/abuild/rpmbuild/BUILD/kseexpr-4.0.2.0/src/KSeExprUI/ControlSpec.cpp:89:62: error: cannot bind non-const lvalue reference of type 'float_t&' {aka 'long double&'} to a value of type 'float' [ 140s] 89 | if (KSeExpr::Utils::parseRangeComment(comment, fmin, fmax)) { [ 140s] | ^~~~ [ 140s] In file included from /home/abuild/rpmbuild/BUILD/kseexpr-4.0.2.0/src/KSeExprUI/ControlSpec.cpp:11: [ 140s] /home/abuild/rpmbuild/BUILD/kseexpr-4.0.2.0/src/KSeExprUI/Utils.h:14:82: note: initializing argument 3 of 'bool KSeExpr::Utils::parseRangeComment(const string&, float&, float_t&)' [ 140s] 14 | bool parseRangeComment(const std::string &comment, float &from, float_t &to); [ 140s] | ~~~~~~~~~^~ [ 140s] /home/abuild/rpmbuild/BUILD/kseexpr-4.0.2.0/src/KSeExprUI/ControlSpec.cpp: In constructor 'KSeExpr::ExprVectorAssignSpec::ExprVectorAssignSpec(const KSeExpr::ExprAssignNode&)': [ 140s] /home/abuild/rpmbuild/BUILD/kseexpr-4.0.2.0/src/KSeExprUI/ControlSpec.cpp:135:62: error: cannot bind non-const lvalue reference of type 'float_t&' {aka 'long double&'} to a value of type 'float' [ 140s] 135 | if (KSeExpr::Utils::parseRangeComment(comment, fmin, fmax)) { [ 140s] | ^~~~ [ 140s] In file included from /home/abuild/rpmbuild/BUILD/kseexpr-4.0.2.0/src/KSeExprUI/ControlSpec.cpp:11: [ 140s] /home/abuild/rpmbuild/BUILD/kseexpr-4.0.2.0/src/KSeExprUI/Utils.h:14:82: note: initializing argument 3 of 'bool KSeExpr::Utils::parseRangeComment(const string&, float&, float_t&)' [ 140s] 14 | bool parseRangeComment(const std::string &comment, float &from, float_t &to); [ 140s] | ~~~~~~~~~^~ and: [ 141s] /home/abuild/rpmbuild/BUILD/kseexpr-4.0.2.0/src/KSeExprUI/Editable.cpp: In member function 'virtual bool NumberEditable::parseComment(const string&)': [ 141s] /home/abuild/rpmbuild/BUILD/kseexpr-4.0.2.0/src/KSeExprUI/Editable.cpp:51:62: error: cannot bind non-const lvalue reference of type 'float_t&' {aka 'long double&'} to a value of type 'float' [ 141s] 51 | if (KSeExpr::Utils::parseRangeComment(comment, fmin, fmax)) { [ 141s] | ^~~~ [ 141s] In file included from /home/abuild/rpmbuild/BUILD/kseexpr-4.0.2.0/src/KSeExprUI/Editable.cpp:17: [ 141s] /home/abuild/rpmbuild/BUILD/kseexpr-4.0.2.0/src/KSeExprUI/Utils.h:14:82: note: initializing argument 3 of 'bool KSeExpr::Utils::parseRangeComment(const string&, float&, float_t&)' [ 141s] 14 | bool parseRangeComment(const std::string &comment, float &from, float_t &to); [ 141s] | ~~~~~~~~~^~ [ 141s] /home/abuild/rpmbuild/BUILD/kseexpr-4.0.2.0/src/KSeExprUI/Editable.cpp: In member function 'virtual bool VectorEditable::parseComment(const string&)': [ 141s] /home/abuild/rpmbuild/BUILD/kseexpr-4.0.2.0/src/KSeExprUI/Editable.cpp:100:68: error: cannot bind non-const lvalue reference of type 'float_t&' {aka 'long double&'} to a value of type 'float' [ 141s] 100 | bool parsed = KSeExpr::Utils::parseRangeComment(comment, fmin, fmax); [ 141s] | ^~~~ [ 141s] In file included from /home/abuild/rpmbuild/BUILD/kseexpr-4.0.2.0/src/KSeExprUI/Editable.cpp:17: [ 141s] /home/abuild/rpmbuild/BUILD/kseexpr-4.0.2.0/src/KSeExprUI/Utils.h:14:82: note: initializing argument 3 of 'bool KSeExpr::Utils::parseRangeComment(const string&, float&, float_t&)' [ 141s] 14 | bool parseRangeComment(const std::string &comment, float &from, float_t &to); [ 141s] | ~~~~~~~~~^~ The "to" parameter of KSeExpr::Utils::parseRangeComment() is still float_t... -- You are receiving this mail because: You are watching all bug changes.