Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

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