Closed navinagaraj closed 5 months ago
std::string::append
function was introduced in C++20.
std::string::append
has existed long before C++20. This appears to be a regression in GCC 8.1 and the below program compiles just fine in 7.5 and 8.2+. I would recommend upgrading your compiler. GCC 8 is rather old at this point.
#include <string>
int main()
{
std::string a,b = "test";
a.append(b, 1);
}
I misread the documentation.
Closing the issue.
When attempting to build POCO 1.13.0 with gcc 8, we encountered errors during the compilation process. Interestingly, the same version of POCO built successfully with gcc 9.
Error:
platform Info: