mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
gthread: Enable -Wsign-conversion for gthread subdirectory
As with previous commits, we’re enabling `-Wsign-conversion` piecemeal for all of glib.git. It turns out that gthread didn’t have any `-Wsign-conversion` warnings at all, so this was straightforward. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3405
This commit is contained in:
@@ -7,7 +7,7 @@ test_env.set('G_TEST_SRCDIR', meson.current_source_dir())
|
||||
test_env.set('G_TEST_BUILDDIR', meson.current_build_dir())
|
||||
|
||||
test_deps = [thread_dep, libglib_dep, libgthread_dep]
|
||||
test_cargs = ['-DG_LOG_DOMAIN="GLib-GThread"', '-UG_DISABLE_ASSERT']
|
||||
test_cargs = ['-DG_LOG_DOMAIN="GLib-GThread"', '-UG_DISABLE_ASSERT', warning_sign_conversion_args]
|
||||
test_cpp_args = test_cargs
|
||||
|
||||
foreach test_name, extra_args : gthread_tests
|
||||
|
Reference in New Issue
Block a user