Skip to content

Commit

Permalink
meson.build: raise used C standard to C11
Browse files Browse the repository at this point in the history
Some C11 features have been used, but meson.build still specifies
c_std=c99, leading to errors on Clang compiler.

Fixes: #364
Signed-off-by: Yao Zi <[email protected]>
  • Loading branch information
ziyao233 committed Sep 26, 2024
1 parent bebc8e4 commit e587030
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(
'c',
version : '1.0.6',
default_options : [
'c_std=c99',
'c_std=c11',
'warning_level=1',
],
)
Expand Down

0 comments on commit e587030

Please sign in to comment.