You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
In file included from poco-poco-1.13.0-release/Foundation/src/Thread.cpp:28:
poco-poco-1.13.0-release/Foundation/src/Thread_POSIX.cpp: In member function 'void Poco::ThreadImpl::setNameImpl(const string&)':
poco-poco-1.13.0-release/Foundation/src/Thread_POSIX.cpp:156:56: error: no matching function for call to 'std::__cxx11::basic_string<char>::append(const string&, std::__cxx11::basic_string<char>::size_type)'
truncName.append(threadName, threadName.size() - half);
platform Info:
Kernel Architecture -> arm (Linux)
Kernel Version -> 4.19
gcc -> 8.1.0
glibc -> 2.19
The text was updated successfully, but these errors were encountered:
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.
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:
The text was updated successfully, but these errors were encountered: