diff options
-rw-r--r-- | meson.build | 7 | ||||
-rw-r--r-- | src/.clang-tidy | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 992dab8..8f7d3b0 100644 --- a/meson.build +++ b/meson.build @@ -55,6 +55,13 @@ if get_option('strict') c_warnings += [ '-Wno-poison-system-directories', ] + elif host_machine.system() == 'windows' + c_warnings += [ + '-Wno-deprecated-declarations', + '-Wno-format-nonliteral', + '-Wno-nonportable-system-include-path', + '-Wno-unused-macros', + ] endif elif cc.get_id() == 'gcc' c_warnings += [ diff --git a/src/.clang-tidy b/src/.clang-tidy index 70b522f..29f7e2e 100644 --- a/src/.clang-tidy +++ b/src/.clang-tidy @@ -12,6 +12,7 @@ Checks: > -hicpp-signed-bitwise, -llvm-header-guard, -llvmlibc-*, + -performance-no-int-to-ptr, -readability-function-cognitive-complexity, FormatStyle: file HeaderFilterRegex: 'pugl/.*' |