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

C++11 mode and -Werror prevent building with new Boost versions #128

Closed
cnweaver opened this issue Nov 11, 2023 · 0 comments · Fixed by #148
Closed

C++11 mode and -Werror prevent building with new Boost versions #128

cnweaver opened this issue Nov 11, 2023 · 0 comments · Fixed by #148
Assignees
Labels

Comments

@cnweaver
Copy link
Contributor

In file included from /Users/cweaver/Work/CMB-S4/spt3g_software-public-git/core/src/G3Vector.cxx:3:
In file included from /Users/cweaver/Work/CMB-S4/spt3g_software-public-git/core/include/core/container_pybindings.h:5:
In file included from /Users/cweaver/Work/CMB-S4/spt3g_software-public-git/core/include/core/G3Map.h:6:
In file included from /Users/cweaver/Work/CMB-S4/spt3g_software-public-git/core/include/core/G3Quat.h:6:
In file included from /usr/local/include/boost/math/quaternion.hpp:14:
/usr/local/include/boost/math/tools/config.hpp:23:6: error: "The minimum language standard to use Boost.Math will be C++14 starting in July 2023 (Boost 1.82 release)" [-Werror,-W#warnings]
#    warning "The minimum language standard to use Boost.Math will be C++14 starting in July 2023 (Boost 1.82 release)"
     ^
1 error generated.

The simplest solution is to change the language mode to C++14, but I would like to first verify that this will be available on all platforms we consider supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant