https://bugs.kde.org/show_bug.cgi?id=437890
Bug ID: 437890 Summary: kseexpr FTBFS with GCC 11 Product: krita Version: unspecified Platform: Other OS: Other Status: REPORTED Severity: normal Priority: NOR Component: * Unknown Assignee: krita-bugs-n...@kde.org Reporter: christo...@krop.fr Target Milestone: --- We seeing a couple build failures with GCC 11: #1 /home/abuild/rpmbuild/BUILD/kseexpr-4.0.1.0/src/KSeExpr/Utils.cpp:13:52: error: 'strlen' is not a member of 'std'; did you mean 'mbrlen'? This file needs a cstring include #2 [ 43s] /home/abuild/rpmbuild/BUILD/kseexpr-4.0.1.0/src/KSeExpr/Utils.cpp: In function 'double_t KSeExpr::Utils::atof(const char*)': [ 43s] /home/abuild/rpmbuild/BUILD/kseexpr-4.0.1.0/src/KSeExpr/Utils.cpp:14:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' [ 43s] 14 | auto [p, ec] = std::from_chars(num, num + std::strlen(num), v); [ 43s] | ^ [ 43s] /home/abuild/rpmbuild/BUILD/kseexpr-4.0.1.0/src/KSeExpr/Utils.cpp: In function 'double_t KSeExpr::Utils::atof(const string&)': [ 43s] /home/abuild/rpmbuild/BUILD/kseexpr-4.0.1.0/src/KSeExpr/Utils.cpp:25:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' [ 43s] 25 | auto [p, ec] = std::from_chars(val.data(), val.data() + val.size(), v); [ 43s] | ^ [ 43s] /home/abuild/rpmbuild/BUILD/kseexpr-4.0.1.0/src/KSeExpr/Utils.cpp:25:36: error: 'val' was not declared in this scope [ 43s] 25 | auto [p, ec] = std::from_chars(val.data(), val.data() + val.size(), v); [ 43s] | ^~~ -- You are receiving this mail because: You are watching all bug changes.