Skip to content

Align C++23 / C17 as the project dialect - #8548

Merged
danoli3 merged 1 commit into
openframeworks:masterfrom
danoli3:cpp23-standard-align
Aug 31, 2026
Merged

Align C++23 / C17 as the project dialect#8548
danoli3 merged 1 commit into
openframeworks:masterfrom
danoli3:cpp23-standard-align

Conversation

@danoli3

@danoli3 danoli3 commented Aug 31, 2026

Copy link
Copy Markdown
Member

Summary

  • Pin Visual Studio (vs / vs2026) to stdcpp23 + stdc17 in openFrameworksCommon.props and stop app templates / openframeworksLib.vcxproj from overriding LanguageStandard
  • That removes the 0.12.1 mismatch where PG stamped stdcpplatest on the app while the core lib stayed at C++17 (std::result_of / ODR)
  • macos + tvOS match osx at c++23 / c17; macos drops AGL (gone in macOS 26) and picks up Foundation / SystemConfiguration / Metal
  • make prefers -std=c++23, falls back to -std=c++2b on Apple Clang 15 CLI
  • vs2019 stays C++17 for that toolchain

Fixes #8547

Validation

  • make C++23 probe: xcrun clang++ -std=c++23 succeeds on Apple Clang 21 and selects -std=c++23
  • git diff --check on the 19 template/props files

CI will confirm VS / Xcode / make builds against apothecary C++23 libs.

VS vs/vs2026 props own stdcpp23 + stdc17 so app templates and
openframeworksLib no longer stamp stdcpplatest over the core lib.
macos/tvOS match osx at c++23/c17 and drop AGL. make prefers
-std=c++23 with a c++2b fallback on older Apple Clang. vs2019
stays C++17 for that toolchain.

Fixes openframeworks#8547
@danoli3 danoli3 self-assigned this Aug 31, 2026
@danoli3
danoli3 merged commit 19ad609 into openframeworks:master Aug 31, 2026
20 checks passed
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.

projectGenerator 0.12.1 (vs): emits stdcpplatest for the app while core lib stays stdcpp17 (breaks std::result_of users)

1 participant