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

Error in test_stats #115

Closed
mgcooper opened this issue May 18, 2024 · 1 comment
Closed

Error in test_stats #115

mgcooper opened this issue May 18, 2024 · 1 comment
Labels

Comments

@mgcooper
Copy link
Contributor

When compiling, I got an error on the tests:

[ 89%] Building CXX object test/CMakeFiles/catch_tests.dir/test_stats.cpp.o
/Users/coop558/myprojects/exactextract/test/test_stats.cpp:117:23: error: implicit instantiation of undefined template 'std::basic_stringstream<char>'
    std::stringstream ss;
                      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__fwd/sstream.h:29:28: note: template is declared here
class _LIBCPP_TEMPLATE_VIS basic_stringstream;
                           ^
1 error generated.
make[2]: *** [test/CMakeFiles/catch_tests.dir/test_stats.cpp.o] Error 1
make[1]: *** [test/CMakeFiles/catch_tests.dir/all] Error 2
make: *** [all] Error 2

The fix is just to add #include <sstream>

@dbaston
Copy link
Member

dbaston commented May 21, 2024

Added in 0e13cb4

@dbaston dbaston closed this as completed May 21, 2024
@dbaston dbaston added the build label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants