Skip to content

maint(common): set C++17 in standard.meson.build 🐾#14355

Merged
ermshiperete merged 1 commit intomasterfrom
maint/common/12526_c++17
Jul 21, 2025
Merged

maint(common): set C++17 in standard.meson.build 🐾#14355
ermshiperete merged 1 commit intomasterfrom
maint/common/12526_c++17

Conversation

@ermshiperete
Copy link
Copy Markdown
Contributor

Note that the ICU subprojects still explicitly specify C++17 since they are maintained outside of Keyman and so shouldn't be tied to the Keyman compiler version requirement.

Fixes: #12526
Test-bot: skip

@keymanapp-test-bot
Copy link
Copy Markdown

keymanapp-test-bot bot commented Jul 14, 2025

User Test Results

Test specification and instructions

User tests are not required

@keymanapp-test-bot keymanapp-test-bot bot added this to the A19S7 milestone Jul 14, 2025
@github-actions github-actions bot added mac/ core/ Keyman Core resources/ common/ maint Maintenance work -- continuous integration, build scripts, infrastructure labels Jul 14, 2025
@srl295 srl295 self-requested a review July 14, 2025 22:27
@ermshiperete ermshiperete force-pushed the maint/common/12526_c++17 branch from 5f578ed to 17fd782 Compare July 17, 2025 15:22
@github-actions github-actions bot added common/ and removed common/ labels Jul 17, 2025
@ermshiperete ermshiperete changed the base branch from master to refactor/developer/codecvt July 17, 2025 15:23
@ermshiperete ermshiperete changed the title maint(common): set C++17 in standard.meson.build maint(common): set C++17 in standard.meson.build 🐾 Jul 17, 2025
@ermshiperete ermshiperete marked this pull request as ready for review July 17, 2025 15:23
Copy link
Copy Markdown
Contributor

@SabineSIL SabineSIL left a comment

Choose a reason for hiding this comment

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

LGTM

@ermshiperete ermshiperete force-pushed the refactor/developer/codecvt branch from d9843e0 to 6930fe9 Compare July 18, 2025 06:43
Base automatically changed from refactor/developer/codecvt to master July 18, 2025 12:02
Note that the ICU subprojects still explicitly specify C++17 since they
are maintained outside of Keyman and so shouldn't be tied to the Keyman
compiler version requirement.

Fixes: #12526
Test-bot: skip
@ermshiperete ermshiperete force-pushed the maint/common/12526_c++17 branch from c7dee59 to faa521d Compare July 18, 2025 12:04
@keyman-server keyman-server modified the milestones: A19S7, A19S8 Jul 20, 2025
@ermshiperete ermshiperete merged commit ff275c6 into master Jul 21, 2025
29 checks passed
@ermshiperete ermshiperete deleted the maint/common/12526_c++17 branch July 21, 2025 06:36
@github-project-automation github-project-automation bot moved this from Todo to Done in Keyman Jul 21, 2025
@keyman-server
Copy link
Copy Markdown
Collaborator

Changes in this pull request will be available for download in Keyman version 19.0.86-alpha

mcdurdin added a commit that referenced this pull request Aug 1, 2025
We attempted to set the C++ version in standard.meson.build, but this
does not work well as the option name varies by platform, and it also
triggers a warning in meson. This fix moves the setting into each
meson.build project() default_options. As there are only a handful
of these, the maintenance burden is not high.

Fixes: #14432
Relates-to: #14355
Build-bot: build
Test-bot: skip
cvosoft pushed a commit to cvosoft/keyman that referenced this pull request Oct 23, 2025
We attempted to set the C++ version in standard.meson.build, but this
does not work well as the option name varies by platform, and it also
triggers a warning in meson. This fix moves the setting into each
meson.build project() default_options. As there are only a handful
of these, the maintenance burden is not high.

Fixes: keymanapp#14432
Relates-to: keymanapp#14355
Build-bot: build
Test-bot: skip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

common/ core/ Keyman Core developer/compilers/ developer/ mac/ maint Maintenance work -- continuous integration, build scripts, infrastructure resources/

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

feat: set version of C++ to ['-std=c++17'] and use from standard.meson.build

4 participants