ci: enable -Werror for msys2+meson

This commit is contained in:
Christoph Reiter 2019-01-01 18:06:47 +01:00
parent b12b08df2f
commit 9b367e74ef
2 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,7 @@ custom_c_args = cc.get_supported_arguments([
'-Wno-unused-parameter', '-Wno-unused-parameter',
'-Wno-cast-align', '-Wno-cast-align',
'-Wno-unused-function', '-Wno-unused-function',
'-Wno-return-type',
]) ])
cmph = static_library('cmph', cmph = static_library('cmph',
sources: cmph_sources, sources: cmph_sources,

View File

@ -76,6 +76,8 @@ static HMODULE girepository_dll = NULL;
#ifdef DLL_EXPORT #ifdef DLL_EXPORT
BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved);
BOOL WINAPI BOOL WINAPI
DllMain (HINSTANCE hinstDLL, DllMain (HINSTANCE hinstDLL,
DWORD fdwReason, DWORD fdwReason,