Skip to content

Resolve compiler warnings and upgrade to C++17#4799

Merged
adamnovak merged 4 commits intomasterfrom
de-warnify
Jan 16, 2026
Merged

Resolve compiler warnings and upgrade to C++17#4799
adamnovak merged 4 commits intomasterfrom
de-warnify

Conversation

@adamnovak
Copy link
Member

Changelog Entry

To be copied to the draft changelog by merger:

  • vg now requires C++17 on Linux

Description

This resolves some compiler warnings, including the one about is_pod in SDSL and all the ones about inline variables being a C++17 feature.

To do this, I am bumping the vg Linux C++ standard to C++17, which the Mac side already uses.

I am also removing a bunch of code for backwards compatibility to C++ standards under C++17, which wouldn't be tested anymore.

I'm also upgrading libbdsg, which introduces some new deprecation warnings from it, but I think @electricEpilith is fixing them.

@adamnovak
Copy link
Member Author

This goes with vgteam/sdsl-lite#20 in sdsl-lite.

@faithokamoto
Copy link
Contributor

Commit c24ad8c failed the oldest supported compiler test: https://ucsc-ci.com/vgteam/vg/-/jobs/102343

@adamnovak adamnovak merged commit 379fe98 into master Jan 16, 2026
2 of 3 checks passed
@faithokamoto faithokamoto deleted the de-warnify branch January 16, 2026 22:33
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.

2 participants