Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Migrate to c++14 #2560

Merged
merged 2 commits into from
Jan 29, 2025
Merged

Conversation

atamagaii
Copy link
Contributor

This is related to #2531

Before we can bring in the latest version of hash_table8 we need to migrate to c++14. This should also bring some quality of life to future development as developers will have access to std::make_unique. There weren't any major deprecations in c++14 so we shouldn't see any warnings there if we ever happen to remove -Wno-deprecated.

What changed

Updated configure.py to...

  1. set cflags to target c++14.
  2. remove a function that replaced c++11 with c++14 when building ninja_test as we are now targeting the required version.

…11 with c++14 when building tests as we are now targeting the min required version
@atamagaii
Copy link
Contributor Author

@jhasse I noticed that we are getting CI failures on ARM64. The seg fault makes me wonder if it is a problem with the image... has this been a problem in the past?

@jhasse
Copy link
Collaborator

jhasse commented Jan 29, 2025

See #2554

@jhasse jhasse added this to the 1.13.0 milestone Jan 29, 2025
@jhasse jhasse merged commit 7a988b5 into ninja-build:master Jan 29, 2025
11 of 13 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants