Skip to content

Conversation

@jchv
Copy link
Contributor

@jchv jchv commented Apr 24, 2025

In Clang/libc++ including <iostream> is not enough to get the implementation of ostringstream. We need to include <sstream> as well.

Also, the inclusion of libstdc++fs should no longer be necessary, and doesn't work on Clang either. (This is already handled by the other two PRs to some degree, but I wanted to have a minimal patch that fixes all of the compilation errors I've seen.)

In Clang/libc++ including `<iostream>` is not enough to get the
implementation of `ostringstream`. We need to include `<sstream>` as
well.

Also, the inclusion of libstdc++fs should no longer be necessary, and
doesn't work on Clang either.
@wfr wfr merged commit 05b651d into wfr:master Apr 24, 2025
1 check failed
@wfr
Copy link
Owner

wfr commented Apr 24, 2025

Thanks!

@jchv jchv deleted the fix-build-on-clang branch April 24, 2025 23:28
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

Successfully merging this pull request may close these issues.

2 participants