Skip to content

Commit

Permalink
build: Bump c++ standard to c++20
Browse files Browse the repository at this point in the history
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
  • Loading branch information
Dennisbonke committed Apr 29, 2021
1 parent b1e0738 commit e4130d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if not headers_only
c_compiler = meson.get_compiler('c')

add_project_arguments('-nostdinc', '-fno-builtin', language: ['c', 'cpp'])
add_project_arguments('-std=c++17', language: 'cpp')
add_project_arguments('-std=c++20', language: 'cpp')
add_project_arguments('-fno-rtti', '-fno-exceptions', language: 'cpp')
add_project_link_arguments('-nostdlib', language: ['c', 'cpp'])

Expand Down

0 comments on commit e4130d6

Please sign in to comment.