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

Fix missing sstream include #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

tvrusso
Copy link
Member

@tvrusso tvrusso commented Feb 15, 2024

src/c_boost/expr/ast_common.hpp makes use of std::istringstream, but does not include <sstream>.

Some boost header must have silently pulled in sstream, but as of boost 1.84 that no longer happens. Trying to build XDM with boost 1.84 fails as a result.

This commit makes ast_common.hpp include <sstream> itself, and that fixes the problem.

Tagging @Karlsefni2012 @gjtempl @TBird2001 directly so they see this sooner.

Closes GH-11

(hint, if you use git format-patch master..fixsstream on this repo or simply access https://github.com/Xyce/XDM/pull/12.patch , you can get a patch file you can insert into the official repo with git am)

src/c_boost/expr/ast_common.hpp makes use of std::istringstream, but
does not include <sstream>.

Some boost header must have silently pulled in sstream, but as of
boost 1.84 that no longer happens.  Trying to build XDM with boost
1.84 fails as a result.

This commit makes ast_common.hpp include <sstream> itself, and that
fixes the problem.
@gjtempl
Copy link
Collaborator

gjtempl commented Feb 15, 2024

Thanks for the info and the fix. I'm still on boost 1.81 but I'll confirm and get a fix for the next release.

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.

XDM/src/c_boost/expr/ast_common.hpp missing include of sstream
2 participants