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

Adding optional usage of C++ 17 #67

Merged
merged 6 commits into from
Sep 18, 2023
Merged

Conversation

matajoh
Copy link
Member

@matajoh matajoh commented Sep 16, 2023

This PR makes a small set of changes which enable the library to be built in C++ 17 with extremely strict flags. No functionality is affected and the C++ 17 path is entirely optional.

Signed-off-by: Matthew A Johnson <matjoh@microsoft.com>
Signed-off-by: Matthew A Johnson <matjoh@microsoft.com>
Signed-off-by: Matthew A Johnson <matjoh@microsoft.com>
Signed-off-by: Matthew A Johnson <matjoh@microsoft.com>
Copy link
Member

@mjp41 mjp41 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, should we add a CI build that tests C++17 build? Otherwise we'll break it. Also perhaps add a GCC one for the previous PR?

include/trieste/wf.h Show resolved Hide resolved
Signed-off-by: Matthew A Johnson <matjoh@microsoft.com>
Signed-off-by: Matthew A Johnson <matjoh@microsoft.com>
@matajoh
Copy link
Member Author

matajoh commented Sep 16, 2023

LGTM, should we add a CI build that tests C++17 build? Otherwise we'll break it. Also perhaps add a GCC one for the previous PR?

I've added them in, and am seeing some build errors for macos-latest + CXX17. Would you be able to take a look?

@mjp41
Copy link
Member

mjp41 commented Sep 17, 2023

LGTM, should we add a CI build that tests C++17 build? Otherwise we'll break it. Also perhaps add a GCC one for the previous PR?

I've added them in, and am seeing some build errors for macos-latest + CXX17. Would you be able to take a look?

Should be fixed in upstream snmalloc:
microsoft/snmalloc#635

@matajoh matajoh merged commit 53ea4df into microsoft:main Sep 18, 2023
25 checks passed
@matajoh matajoh deleted the pedantic-warnings branch September 18, 2023 09:30
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.

3 participants