Skip to content

Experiment: C++17 support#9874

Merged
thebentern merged 17 commits into
masterfrom
cplusplus-17
Mar 11, 2026
Merged

Experiment: C++17 support#9874
thebentern merged 17 commits into
masterfrom
cplusplus-17

Conversation

@thebentern

@thebentern thebentern commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

I'm not in love with all of the unflags, but it seems to be the main way of making some of the platforms work.

@github-actions github-actions Bot added needs-review Needs human review enhancement New feature or request labels Mar 10, 2026
@thebentern thebentern marked this pull request as ready for review March 10, 2026 16:08
Comment thread variants/native/portduino.ini
@thebentern thebentern merged commit d9e2b12 into master Mar 11, 2026
77 checks passed
@Jorropo Jorropo deleted the cplusplus-17 branch March 11, 2026 11:48
Jorropo added a commit to Jorropo/firmware that referenced this pull request Mar 11, 2026
We should use make_unique in all similar cases in the future.
We didn't in the past since we didn't had a C++ version high enough.

Ben fixed this in meshtastic#9874
Jorropo added a commit to Jorropo/firmware that referenced this pull request Mar 11, 2026
We should use make_unique in all similar cases in the future.
We didn't in the past since we didn't had a C++ version high enough.

Ben fixed this in meshtastic#9874
Jorropo added a commit to Jorropo/firmware that referenced this pull request Mar 11, 2026
We should use make_unique in all similar cases in the future.
We didn't in the past since we didn't had a C++ version high enough.

Ben fixed this in meshtastic#9874
Jorropo added a commit to Jorropo/firmware that referenced this pull request Mar 11, 2026
We should use make_unique in all similar cases in the future.
We didn't in the past since we didn't had a C++ version high enough.

Ben fixed this in meshtastic#9874
Jorropo added a commit to Jorropo/firmware that referenced this pull request Mar 11, 2026
We should use make_unique in all similar cases in the future.
We didn't in the past since we didn't had a C++ version high enough.

Ben fixed this in meshtastic#9874
Jorropo added a commit to Jorropo/firmware that referenced this pull request Mar 11, 2026
We should use make_unique in all similar cases in the future.
We didn't in the past since we didn't had a C++ version high enough.

Ben fixed this in meshtastic#9874
@NomDeTom

Copy link
Copy Markdown
Collaborator

Once this is released, do we need an update to the LLM instructions?

andmadeira pushed a commit to andmadeira/meshtastic-firmware that referenced this pull request Mar 19, 2026
* Add C++17 support

* Add C++17 runtime probes and update build configurations for STM32 and Portduino

* Remove unflags

* Update C++ standard flags across the platforms

* Convert a couple of instances to structured bindings

* NRF52 platform.txt to add C++17 support

* Still need the unflags apparently

* Remove C++17 runtime probe tests from test_main.cpp

* Reconfigured doesnt need a nodiscard

* Remove nodiscard attribute from init() method in RadioInterface

* Remove mbedtls/error.h from build flags

Removed include directive for mbedtls/error.h from build flags.

* Fix IRAM overflow

* Fix IRAM overflow

* Add build flag to exclude MQTT from rak11200

* Update C++ standard from gnu17 to gnu++17
jeek pushed a commit to jeek/Meshtastic-Exploiteers-Hacker-Pager that referenced this pull request Jun 30, 2026
* Add C++17 support

* Add C++17 runtime probes and update build configurations for STM32 and Portduino

* Remove unflags

* Update C++ standard flags across the platforms

* Convert a couple of instances to structured bindings

* NRF52 platform.txt to add C++17 support

* Still need the unflags apparently

* Remove C++17 runtime probe tests from test_main.cpp

* Reconfigured doesnt need a nodiscard

* Remove nodiscard attribute from init() method in RadioInterface

* Remove mbedtls/error.h from build flags

Removed include directive for mbedtls/error.h from build flags.

* Fix IRAM overflow

* Fix IRAM overflow

* Add build flag to exclude MQTT from rak11200

* Update C++ standard from gnu17 to gnu++17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request needs-review Needs human review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants