Skip to content

Commit

Permalink
options: ignore clang warnings for VLAs in C++
Browse files Browse the repository at this point in the history
  • Loading branch information
64 committed Nov 28, 2024
1 parent 8487c65 commit 5256b25
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 @@ -448,7 +448,7 @@ if not headers_only
]

if c_compiler.get_id() == 'clang'
libc_cpp_args += ['-fno-sanitize=function']
libc_cpp_args += ['-fno-sanitize=function', '-Wno-vla-cxx-extension']
ld_cpp_args += ['-fno-sanitize=function']
endif

Expand Down

0 comments on commit 5256b25

Please sign in to comment.