Skip to content

Commit

Permalink
fixup! Enable -std=gnu++20 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
jschlatow committed Jan 4, 2024
1 parent 457a35f commit 4f08939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/goa/lib/flags.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ set cflags { }
lappend cflags -fPIC
lappend cflags $olevel
lappend cflags -D__GENODE__
lappend cflags -std=gnu++20

if {$cc_march != ""} {
lappend cflags $cc_march }
Expand All @@ -53,6 +52,7 @@ if {$debug} {
# C++-compiler flags
#
set cxxflags $cflags
lappend cxxflags -std=gnu++20

if {[info exists warn_strict] && $warn_strict} {
lappend cxxflags -Wextra -Weffc++ -Werror -Wsuggest-override }
Expand Down

0 comments on commit 4f08939

Please sign in to comment.