Build fails: error: implicit instantiation of undefined template 'std::basic_stringstream<char>'
Closed this issue · 2 comments
yurivict commented
In file included from /usr/ports/science/sirius/work/SIRIUS-7.5.0/src/core/ostream_tools.cpp:25:
/usr/ports/science/sirius/work/SIRIUS-7.5.0/src/core/ostream_tools.hpp:163:23: error: implicit instantiation of undefined template 'std::basic_stringstream<char>'
std::stringstream fmt;
^
/usr/include/c++/v1/iosfwd:134:32: note: template is declared here
class _LIBCPP_TEMPLATE_VIS basic_stringstream;
^
1 error generated.
This is because src/core/ostream_tools.hpp doesn't have #include <sstream>
.
Version: 7.5.0
clang-16
FreeBSD 14.0
toxa81 commented
Hello @yurivict ! Can you recommend a base container with FreeBSD 14.0 and steps that you usually do to build your software. I'm thinking of adding FreeBSD to our CI/CD pipeline.
toxa81 commented
#include <sstream>
is added in the development version.