Skip to content

Ensure all packages set --std=c++11/17 automatically in cgo CXXFLAGS - #345

Merged
mappu merged 5 commits into
masterfrom
miqt-cflags-update
Aug 4, 2026
Merged

Ensure all packages set --std=c++11/17 automatically in cgo CXXFLAGS#345
mappu merged 5 commits into
masterfrom
miqt-cflags-update

Conversation

@mappu

@mappu mappu commented Aug 3, 2026

Copy link
Copy Markdown
Owner

Fixes: #344

We're setting CXXFLAGS=-std... for many generated packages, but not all of them. Standardize on always setting c++11 / C gnu11 for all Qt 5 packages, and, c++17 for all Qt 6 packages as per upstream's minimum supported version.

Add a bash script to lint this and run it in CI.

@mappu mappu changed the title Miqt cflags update Ensure all packages set --std=c++11/17 automatically in cgo CXXFLAGS Aug 3, 2026
@mappu
mappu merged commit 2a57dca into master Aug 4, 2026
20 checks passed
@mappu
mappu deleted the miqt-cflags-update branch August 4, 2026 05:27
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.

macOS: add needed CXXFLAGS to documentation

1 participant