Skip to content

Commit 65e3a2f

Browse files
hrxineheb
authored andcommitted
Fix MSYS2 compilation
1 parent 48a2bfa commit 65e3a2f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

subprojects/packagefiles/gee/gee/meson.build

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ if host_machine.system() == 'windows'
8686
'/Za', # Stop stdlib.h from #defining min/max macros.
8787
])
8888
endif
89+
gee_c_args += meson.get_compiler('c').get_supported_arguments([
90+
'-Wno-incompatible-function-pointer-types', # In clang 16+, this is an error by default.
91+
])
8992

9093
gee_lib = library(
9194
gee_name,

0 commit comments

Comments
 (0)