Skip to content

Commit

Permalink
Avoid unsafe buffer warning on clang 16+
Browse files Browse the repository at this point in the history
  • Loading branch information
mjansson committed Dec 22, 2023
1 parent 395b352 commit 839925e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/ninja/clang.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ def initialize(self, project, archs, configs, includepaths, dependlibs, libpaths
'-fno-trapping-math', '-ffast-math']
self.cwarnflags = ['-W', '-Werror', '-pedantic', '-Wall', '-Weverything',
'-Wno-c++98-compat', '-Wno-padded', '-Wno-documentation-unknown-command', '-Wno-declaration-after-statement',
'-Wno-implicit-fallthrough', '-Wno-static-in-inline', '-Wno-reserved-id-macro', '-Wno-disabled-macro-expansion']
'-Wno-implicit-fallthrough', '-Wno-static-in-inline', '-Wno-reserved-id-macro', '-Wno-disabled-macro-expansion',
'-Wno-unsafe-buffer-usage']
self.cmoreflags = []
self.mflags = []
self.arflags = []
Expand Down

0 comments on commit 839925e

Please sign in to comment.