Skip to content

Commit

Permalink
meson: increase warning_level to 2
Browse files Browse the repository at this point in the history
It will add -Wextra to the build flags. It will enable some important
checks such as -Wsign-compare for example.
  • Loading branch information
daniloegea authored and slyon committed Jul 19, 2023
1 parent a5eef68 commit 806e764
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 @@ -3,7 +3,7 @@ project('netplan', 'c',
license: 'GPL3',
default_options: [
'c_std=c99',
'warning_level=1',
'warning_level=2',
'werror=true',
],
meson_version: '>= 0.61.0',
Expand Down

0 comments on commit 806e764

Please sign in to comment.