Consider enabling C++23 and C23 #3913
Labels
Build System & Scripts
fbt, scripts and toolchain-related
Feature Request
New feature or user-story you wanna add to flipper
Describe the enhancement you're suggesting.
Currently, the C and C++ standard seems to be defined as follows:
-std=gnu2x
for C,-std=c++20
for C++-std=c++20
for C++gnu23
for C,c++20
for C++Since GCC has partial support for C++23 since GCC11, please consider the following:
gnu23
for C in FBT and uFBT, orgnu2x
if GCC 12 doesn't supportgnu23
yet.gnu++2b
for C++ in FBT and uFBT. This gives us access to most C++23 features with GNU extensions. Or, if you don't want the GNU extensions,c++2b
will do too.gnu++23
in the vscode config, orc++23
if you don't want the GNU extensions.Anything else?
No response
The text was updated successfully, but these errors were encountered: