Skip to content

Commit

Permalink
Add missing build flags.
Browse files Browse the repository at this point in the history
I would like to use C++17.
  • Loading branch information
dhebbeker committed Oct 21, 2023
1 parent 78f7165 commit aa8496b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ include_dir = src
;filter for source file directory when building
; see https://docs.platformio.org/en/stable/projectconf/sections/env/options/build/build_src_filter.html
build_src_filter = +<*> -<.git/> -<.svn/>
build_flags = -std=gnu++17 -Werror=return-type
build_unflags = -std=gnu++11

;general dependencies
; for version requirements see https://docs.platformio.org/en/stable/core/userguide/pkg/cmd_install.html#cmd-pkg-install-requirements
Expand Down

0 comments on commit aa8496b

Please sign in to comment.