Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails: error: implicit instantiation of undefined template 'std::basic_stringstream<char>' #946

Closed
yurivict opened this issue Jan 4, 2024 · 2 comments

Comments

@yurivict
Copy link

yurivict commented Jan 4, 2024

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
Copy link
Collaborator

toxa81 commented Jan 4, 2024

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
Copy link
Collaborator

toxa81 commented Jun 14, 2024

#include <sstream> is added in the development version.

@toxa81 toxa81 closed this as completed Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants