Skip to content

Commit

Permalink
chore(platformio.ini): 🔧 Upgrade C++11 to GNU C++23
Browse files Browse the repository at this point in the history
Using the latest version of C++ keeps its security up-to-date.
  • Loading branch information
ZZ-Cat committed Apr 25, 2024
1 parent f44f2c1 commit 60a2f68
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ test_dir =
board = adafruit_metro_m4
build_flags =
build_src_flags =
; Force GNU C++ 23:
-std=c++23
; Compile hardening flags:
-O2
-Wall
Expand All @@ -53,11 +55,14 @@ build_src_filter =
+<*.cpp>
build_type = debug
build_unflags =
-c++11
-Os
check_flags =
--enable=all
--disable=missingInclude
--disable=unusedFunction
--language=c++
--std=c++23
check_severity = low, medium, high
check_skip_packages = yes
check_tool = cppcheck
Expand Down

0 comments on commit 60a2f68

Please sign in to comment.