Skip to content

Commit

Permalink
Merge pull request #1193 from managarm/clang
Browse files Browse the repository at this point in the history
options: ignore clang warnings for VLAs in C++
  • Loading branch information
Dennisbonke authored Nov 29, 2024
2 parents 8487c65 + 5256b25 commit c7bb359
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 c7bb359

Please sign in to comment.