Skip to content

Conversation

@klirichek
Copy link

Default scons configuration provides '-ansi' flag to g++ compiler, which
actually means '-std=c++98'. So, later tests for c++11 features always
fails and build finaly is always based on TR1/Boost implementations.

Rewriting this flag to '-std=c++11' effectively invokes std library
instead, but galera then fails to build because of using for_each
without explicitly included (it seems that boost shared_ptr
replacement uses it for own purposes, and pollutes global scope).

Default scons configuration provides '-ansi' flag to g++ compiler, which
actually means '-std=c++98'. So, later tests for c++11 features always
fails and build finaly is always based on TR1/Boost implementations.

Rewriting this flag to '-std=c++11' effectively invokes std library
instead, but galera then fails to build because of using `for_each`
without explicitly included <algorithm> (it seems that boost shared_ptr
replacement uses it for own purposes, and pollutes global scope).
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.

1 participant