Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Conversation

@qnixsynapse
Copy link
Contributor

@qnixsynapse qnixsynapse commented Mar 17, 2025

Describe Your Changes

  • The change migrates the codebase from C++20 to C++17 by replacing C++20's designated initialization with list initialization which is supported C++17 across platforms.
    Currently, tested on Linux.

  • Also, fixed most compiler warning and removed/added attributes to some unused variables and functions

Fixes Issues

Self Checklist

  • Added relevant comments, esp in complex areas
  • Updated docs (for bug fixes / features)
  • Created issues for follow-up changes or refactoring needed

@qnixsynapse qnixsynapse marked this pull request as draft March 17, 2025 11:13
@qnixsynapse qnixsynapse force-pushed the migrate_c17 branch 3 times, most recently from 6f85bf0 to a356bc8 Compare March 19, 2025 01:11
@qnixsynapse qnixsynapse marked this pull request as ready for review March 20, 2025 04:45
@qnixsynapse qnixsynapse changed the title chore: [wip] Move to C++17 and fix extra warnings chore: Move to C++17 and fix extra warnings Mar 20, 2025
@vansangpfiev
Copy link
Contributor

LGTM.
It would be great if we can enable -Wpedantic -Werror for linux CI.

@qnixsynapse
Copy link
Contributor Author

Yup. I intend to enable CQA(which contains these flags) on *nix machines with valgrind and ASan.

cc: @david-menloai

@qnixsynapse qnixsynapse merged commit 2e1dfa0 into dev Mar 20, 2025
13 of 16 checks passed
@qnixsynapse qnixsynapse deleted the migrate_c17 branch March 20, 2025 08:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

epic: Migrate repo to C++ 17

3 participants