44.1 fails to compile with gcc 14.x (due to -Wincompatible-pointer-types being an error)
Looks like last version build fails with latest gcc 14.x which is now used in fedora rawhide.
Build fails with
[tkloczko@pers-jacek x86_64-redhat-linux-gnu]$ ninja -k 0
[1/194] Compiling C object subprojects/vala-unit/libvala-unit.so.p/meson-generated_src_test-case.c.o
FAILED: subprojects/vala-unit/libvala-unit.so.p/meson-generated_src_test-case.c.o
/usr/bin/gcc -Isubprojects/vala-unit/libvala-unit.so.p -Isubprojects/vala-unit -I../subprojects/vala-unit -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -g -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -MD -MQ subprojects/vala-unit/libvala-unit.so.p/meson-generated_src_test-case.c.o -MF subprojects/vala-unit/libvala-unit.so.p/meson-generated_src_test-case.c.o.d -o subprojects/vala-unit/libvala-unit.so.p/meson-generated_src_test-case.c.o -c subprojects/vala-unit/libvala-unit.so.p/src/test-case.c
../subprojects/vala-unit/src/test-case.vala: In function ‘vala_unit_test_case_add_test’:
../subprojects/vala-unit/src/test-case.vala:107:59: error: passing argument 4 of ‘g_test_create_case’ from incompatible pointer type [-Wincompatible-pointer-types]
107 | this.suite.add(
| ^
| |
| void (*)(void *, void *)
In file included from /usr/include/glib-2.0/glib.h:89,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from subprojects/vala-unit/vala-unit.h:6,
from subprojects/vala-unit/libvala-unit.so.p/src/test-case.c:16:
/usr/include/glib-2.0/glib/gtestutils.h:557:60: note: expected ‘GTestFixtureFunc’ {aka ‘void (*)(void *, const void *)’} but argument is of type ‘void (*)(void *, void *)’
557 | GTestFixtureFunc data_setup,
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
../subprojects/vala-unit/src/test-case.vala:107:110: error: passing argument 5 of ‘g_test_create_case’ from incompatible pointer type [-Wincompatible-pointer-types]
107 | this.suite.add(
| ^
| |
| void (*)(void *, void *)
/usr/include/glib-2.0/glib/gtestutils.h:558:60: note: expected ‘GTestFixtureFunc’ {aka ‘void (*)(void *, const void *)’} but argument is of type ‘void (*)(void *, void *)’
558 | GTestFixtureFunc data_test,
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~
../subprojects/vala-unit/src/test-case.vala:107:158: error: passing argument 6 of ‘g_test_create_case’ from incompatible pointer type [-Wincompatible-pointer-types]
107 | this.suite.add(
| ^
| |
| void (*)(void *, void *)
/usr/include/glib-2.0/glib/gtestutils.h:559:60: note: expected ‘GTestFixtureFunc’ {aka ‘void (*)(void *, const void *)’} but argument is of type ‘void (*)(void *, void *)’
559 | GTestFixtureFunc data_teardown);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
[2/194] Compiling C object subprojects/vala-unit/test-driver.p/meson-generated_test_test-assertions.c.o
FAILED: subprojects/vala-unit/test-driver.p/meson-generated_test_test-assertions.c.o
/usr/bin/gcc -Isubprojects/vala-unit/test-driver.p -Isubprojects/vala-unit -I../subprojects/vala-unit -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -O0 -g -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -MD -MQ subprojects/vala-unit/test-driver.p/meson-generated_test_test-assertions.c.o -MF subprojects/vala-unit/test-driver.p/meson-generated_test_test-assertions.c.o.d -o subprojects/vala-unit/test-driver.p/meson-generated_test_test-assertions.c.o -c subprojects/vala-unit/test-driver.p/test/test-assertions.c
../subprojects/vala-unit/test/test-assertions.vala: In function ‘test_assertions_array_collection’:
../subprojects/vala-unit/test/test-assertions.vala:253:209: error: passing argument 5 of ‘vala_unit_test_assertions_assert_array’ from incompatible pointer type [-Wincompatible-pointer-types]
253 | assert_array(new string[] { "a" });
| ^
| |
| gchar ** {aka char **}
In file included from subprojects/vala-unit/test-driver.p/test/test-assertions.c:11:
subprojects/vala-unit/vala-unit.h:354:81: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
354 | gpointer* actual,
| ~~~~~~~~~~^~~~~~
../subprojects/vala-unit/test/test-assertions.vala: In function ‘test_assertions_gee_collection’:
../subprojects/vala-unit/test/test-assertions.vala:263:120: error: passing argument 5 of ‘test_assertions_new_gee_collection’ from incompatible pointer type [-Wincompatible-pointer-types]
263 | assert_collection(new_gee_collection(new string[] { "a" }));
| ^
| |
| gchar ** {aka char **}
subprojects/vala-unit/test-driver.p/test/test-assertions.c:221:62: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
221 | gpointer* values,
| ~~~~~~~~~~^~~~~~
[3/194] Compiling C object subprojects/vala-unit/test-driver.p/meson-generated_test_collection-assertions.c.o
FAILED: subprojects/vala-unit/test-driver.p/meson-generated_test_collection-assertions.c.o
/usr/bin/gcc -Isubprojects/vala-unit/test-driver.p -Isubprojects/vala-unit -I../subprojects/vala-unit -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -O0 -g -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -MD -MQ subprojects/vala-unit/test-driver.p/meson-generated_test_collection-assertions.c.o -MF subprojects/vala-unit/test-driver.p/meson-generated_test_collection-assertions.c.o.d -o subprojects/vala-unit/test-driver.p/meson-generated_test_collection-assertions.c.o -c subprojects/vala-unit/test-driver.p/test/collection-assertions.c
../subprojects/vala-unit/test/collection-assertions.vala: In function ‘collection_assertions_string_array_collection’:
../subprojects/vala-unit/test/collection-assertions.vala:62:209: error: passing argument 5 of ‘vala_unit_test_assertions_assert_array’ from incompatible pointer type [-Wincompatible-pointer-types]
62 | assert_array(new string[] { "hello", "world"})
| ^
| |
| gchar ** {aka char **}
In file included from subprojects/vala-unit/test-driver.p/test/collection-assertions.c:11:
subprojects/vala-unit/vala-unit.h:354:81: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
354 | gpointer* actual,
| ~~~~~~~~~~^~~~~~
../subprojects/vala-unit/test/collection-assertions.vala:71:210: error: passing argument 5 of ‘vala_unit_test_assertions_assert_array’ from incompatible pointer type [-Wincompatible-pointer-types]
71 | assert_array(new string[0])
| ^
| |
| gchar ** {aka char **}
subprojects/vala-unit/vala-unit.h:354:81: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
354 | gpointer* actual,
| ~~~~~~~~~~^~~~~~
../subprojects/vala-unit/test/collection-assertions.vala:77:211: error: passing argument 5 of ‘vala_unit_test_assertions_assert_array’ from incompatible pointer type [-Wincompatible-pointer-types]
77 | assert_array(new string[0]).is_non_empty();
| ^
| |
| gchar ** {aka char **}
subprojects/vala-unit/vala-unit.h:354:81: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
354 | gpointer* actual,
| ~~~~~~~~~~^~~~~~
../subprojects/vala-unit/test/collection-assertions.vala:84:211: error: passing argument 5 of ‘vala_unit_test_assertions_assert_array’ from incompatible pointer type [-Wincompatible-pointer-types]
84 | assert_array(new string[] { "hello", "world"}).is_empty();
| ^
| |
| gchar ** {aka char **}
subprojects/vala-unit/vala-unit.h:354:81: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
354 | gpointer* actual,
| ~~~~~~~~~~^~~~~~
../subprojects/vala-unit/test/collection-assertions.vala:91:209: error: passing argument 5 of ‘vala_unit_test_assertions_assert_array’ from incompatible pointer type [-Wincompatible-pointer-types]
91 | assert_array(new string[] { "hello", "world"}).contains("☃");
| ^
| |
| gchar ** {aka char **}
subprojects/vala-unit/vala-unit.h:354:81: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
354 | gpointer* actual,
| ~~~~~~~~~~^~~~~~
../subprojects/vala-unit/test/collection-assertions.vala: In function ‘collection_assertions_int_array_collection’:
../subprojects/vala-unit/test/collection-assertions.vala:103:166: error: passing argument 5 of ‘vala_unit_test_assertions_assert_array’ from incompatible pointer type [-Wincompatible-pointer-types]
103 | assert_array(array)
| ^
| |
| gint * {aka int *}
subprojects/vala-unit/vala-unit.h:354:81: note: expected ‘void **’ but argument is of type ‘gint *’ {aka ‘int *’}
354 | gpointer* actual,
| ~~~~~~~~~~^~~~~~
../subprojects/vala-unit/test/collection-assertions.vala:111:167: error: passing argument 5 of ‘vala_unit_test_assertions_assert_array’ from incompatible pointer type [-Wincompatible-pointer-types]
111 | assert_array(empty)
| ^
| |
| gint * {aka int *}
subprojects/vala-unit/vala-unit.h:354:81: note: expected ‘void **’ but argument is of type ‘gint *’ {aka ‘int *’}
354 | gpointer* actual,
| ~~~~~~~~~~^~~~~~
../subprojects/vala-unit/test/collection-assertions.vala:117:168: error: passing argument 5 of ‘vala_unit_test_assertions_assert_array’ from incompatible pointer type [-Wincompatible-pointer-types]
117 | assert_array(empty).is_non_empty();
| ^
| |
| gint * {aka int *}
subprojects/vala-unit/vala-unit.h:354:81: note: expected ‘void **’ but argument is of type ‘gint *’ {aka ‘int *’}
354 | gpointer* actual,
| ~~~~~~~~~~^~~~~~
../subprojects/vala-unit/test/collection-assertions.vala:124:168: error: passing argument 5 of ‘vala_unit_test_assertions_assert_array’ from incompatible pointer type [-Wincompatible-pointer-types]
124 | assert_array(array).is_empty();
| ^
| |
| gint * {aka int *}
subprojects/vala-unit/vala-unit.h:354:81: note: expected ‘void **’ but argument is of type ‘gint *’ {aka ‘int *’}
354 | gpointer* actual,
| ~~~~~~~~~~^~~~~~
../subprojects/vala-unit/test/collection-assertions.vala:131:168: error: passing argument 5 of ‘vala_unit_test_assertions_assert_array’ from incompatible pointer type [-Wincompatible-pointer-types]
131 | assert_array(array).contains(-1);
| ^
| |
| gint * {aka int *}
subprojects/vala-unit/vala-unit.h:354:81: note: expected ‘void **’ but argument is of type ‘gint *’ {aka ‘int *’}
354 | gpointer* actual,
| ~~~~~~~~~~^~~~~~
../subprojects/vala-unit/test/collection-assertions.vala: In function ‘collection_assertions_string_gee_collection’:
../subprojects/vala-unit/test/collection-assertions.vala:140:126: error: passing argument 5 of ‘collection_assertions_new_gee_collection’ from incompatible pointer type [-Wincompatible-pointer-types]
140 | assert_collection(new_gee_collection(strv))
| ^
| |
| gchar ** {aka char **}
subprojects/vala-unit/test-driver.p/test/collection-assertions.c:84:68: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
84 | gpointer* values,
| ~~~~~~~~~~^~~~~~
../subprojects/vala-unit/test/collection-assertions.vala:148:127: error: passing argument 5 of ‘collection_assertions_new_gee_collection’ from incompatible pointer type [-Wincompatible-pointer-types]
148 | assert_collection(new_gee_collection(new string[0]))
| ^
| |
| gchar ** {aka char **}
subprojects/vala-unit/test-driver.p/test/collection-assertions.c:84:68: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
84 | gpointer* values,
| ~~~~~~~~~~^~~~~~
../subprojects/vala-unit/test/collection-assertions.vala:154:128: error: passing argument 5 of ‘collection_assertions_new_gee_collection’ from incompatible pointer type [-Wincompatible-pointer-types]
154 | assert_collection(new_gee_collection(new string[0])).is_non_empty();
| ^
| |
| gchar ** {aka char **}
subprojects/vala-unit/test-driver.p/test/collection-assertions.c:84:68: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
84 | gpointer* values,
| ~~~~~~~~~~^~~~~~
../subprojects/vala-unit/test/collection-assertions.vala:161:128: error: passing argument 5 of ‘collection_assertions_new_gee_collection’ from incompatible pointer type [-Wincompatible-pointer-types]
161 | assert_collection(new_gee_collection(strv)).is_empty();
| ^
| |
| gchar ** {aka char **}
subprojects/vala-unit/test-driver.p/test/collection-assertions.c:84:68: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
84 | gpointer* values,
| ~~~~~~~~~~^~~~~~
../subprojects/vala-unit/test/collection-assertions.vala:168:126: error: passing argument 5 of ‘collection_assertions_new_gee_collection’ from incompatible pointer type [-Wincompatible-pointer-types]
168 | assert_collection(new_gee_collection(strv)).contains("☃");
| ^
| |
| gchar ** {aka char **}
subprojects/vala-unit/test-driver.p/test/collection-assertions.c:84:68: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
84 | gpointer* values,
| ~~~~~~~~~~^~~~~~
../subprojects/vala-unit/test/collection-assertions.vala: In function ‘collection_assertions_int_gee_collection’:
../subprojects/vala-unit/test/collection-assertions.vala:180:83: error: passing argument 5 of ‘collection_assertions_new_gee_collection’ from incompatible pointer type [-Wincompatible-pointer-types]
180 | assert_collection(new_gee_collection(intv))
| ^
| |
| gint * {aka int *}
subprojects/vala-unit/test-driver.p/test/collection-assertions.c:84:68: note: expected ‘void **’ but argument is of type ‘gint *’ {aka ‘int *’}
84 | gpointer* values,
| ~~~~~~~~~~^~~~~~
../subprojects/vala-unit/test/collection-assertions.vala:188:84: error: passing argument 5 of ‘collection_assertions_new_gee_collection’ from incompatible pointer type [-Wincompatible-pointer-types]
188 | assert_collection(new_gee_collection(new int[0]))
| ^
| |
| gint * {aka int *}
subprojects/vala-unit/test-driver.p/test/collection-assertions.c:84:68: note: expected ‘void **’ but argument is of type ‘gint *’ {aka ‘int *’}
84 | gpointer* values,
| ~~~~~~~~~~^~~~~~
../subprojects/vala-unit/test/collection-assertions.vala:194:85: error: passing argument 5 of ‘collection_assertions_new_gee_collection’ from incompatible pointer type [-Wincompatible-pointer-types]
194 | assert_collection(new_gee_collection(new int[0])).is_non_empty();
| ^
| |
| gint * {aka int *}
subprojects/vala-unit/test-driver.p/test/collection-assertions.c:84:68: note: expected ‘void **’ but argument is of type ‘gint *’ {aka ‘int *’}
84 | gpointer* values,
| ~~~~~~~~~~^~~~~~
../subprojects/vala-unit/test/collection-assertions.vala:201:85: error: passing argument 5 of ‘collection_assertions_new_gee_collection’ from incompatible pointer type [-Wincompatible-pointer-types]
201 | assert_collection(new_gee_collection(intv)).is_empty();
| ^
| |
| gint * {aka int *}
subprojects/vala-unit/test-driver.p/test/collection-assertions.c:84:68: note: expected ‘void **’ but argument is of type ‘gint *’ {aka ‘int *’}
84 | gpointer* values,
| ~~~~~~~~~~^~~~~~
../subprojects/vala-unit/test/collection-assertions.vala:208:85: error: passing argument 5 of ‘collection_assertions_new_gee_collection’ from incompatible pointer type [-Wincompatible-pointer-types]
208 | assert_collection(new_gee_collection(intv)).contains(-1);
| ^
| |
| gint * {aka int *}
subprojects/vala-unit/test-driver.p/test/collection-assertions.c:84:68: note: expected ‘void **’ but argument is of type ‘gint *’ {aka ‘int *’}
84 | gpointer* values,
| ~~~~~~~~~~^~~~~~
[4/194] Compiling C object src/engine/libgeary-engine.a.p/meson-generated_rfc822_rfc822-gmime-filter-flowed.c.o
FAILED: src/engine/libgeary-engine.a.p/meson-generated_rfc822_rfc822-gmime-filter-flowed.c.o
/usr/bin/gcc -Isrc/engine/libgeary-engine.a.p -Isrc/engine -I../src/engine -Isrc -I../src -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gmime-3.0 -I/usr/include/libxml2 -I/usr/include/libytnef -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -D SQLITE_CORE -MD -MQ src/engine/libgeary-engine.a.p/meson-generated_rfc822_rfc822-gmime-filter-flowed.c.o -MF src/engine/libgeary-engine.a.p/meson-generated_rfc822_rfc822-gmime-filter-flowed.c.o.d -o src/engine/libgeary-engine.a.p/meson-generated_rfc822_rfc822-gmime-filter-flowed.c.o -c src/engine/libgeary-engine.a.p/rfc822/rfc822-gmime-filter-flowed.c
../src/engine/rfc822/rfc822-gmime-filter-flowed.vala: In function ‘geary_rf_c822_filter_flowed_real_complete’:
../src/engine/rfc822/rfc822-gmime-filter-flowed.vala:152:139: error: passing argument 5 of ‘g_mime_filter_filter’ from incompatible pointer type [-Wincompatible-pointer-types]
152 | filter(inbuf, prespace, out processed_buffer, out outprespace);
| ^
| |
| guint8 ** {aka unsigned char **}
In file included from /usr/include/gmime-3.0/gmime/gmime-format-options.h:25,
from /usr/include/gmime-3.0/gmime/gmime-param.h:27,
from /usr/include/gmime-3.0/gmime/gmime.h:31,
from src/engine/libgeary-engine.a.p/rfc822/rfc822-gmime-filter-flowed.c:12:
/usr/include/gmime-3.0/gmime/gmime-filter.h:88:35: note: expected ‘char **’ but argument is of type ‘guint8 **’ {aka ‘unsigned char **’}
88 | char **outbuf, size_t *outlen, size_t *outprespace);
| ~~~~~~~^~~~~~
../src/engine/rfc822/rfc822-gmime-filter-flowed.vala: In function ‘geary_rf_c822_filter_flowed_class_init’:
../src/engine/rfc822/rfc822-gmime-filter-flowed.vala:19:39: error: assignment to ‘void (*)(GMimeFilter *, char *, size_t, size_t, char **, size_t *, size_t *)’ {aka ‘void (*)(struct _GMimeFilter *, char *, long unsigned int, long unsigned int, char **, long unsigned int *, long unsigned int *)’} from incompatible pointer type ‘void (*)(GMimeFilter *, guint8 *, gsize, gsize, guint8 **, gsize *, gsize *)’ {aka ‘void (*)(struct _GMimeFilter *, unsigned char *, long unsigned int, long unsigned int, unsigned char **, long unsigned int *, long unsigned int *)’} [-Wincompatible-pointer-types]
19 | private class Geary.RFC822.FilterFlowed : GMime.Filter {
| ^
../src/engine/rfc822/rfc822-gmime-filter-flowed.vala:19:41: error: assignment to ‘void (*)(GMimeFilter *, char *, size_t, size_t, char **, size_t *, size_t *)’ {aka ‘void (*)(struct _GMimeFilter *, char *, long unsigned int, long unsigned int, char **, long unsigned int *, long unsigned int *)’} from incompatible pointer type ‘void (*)(GMimeFilter *, guint8 *, gsize, gsize, guint8 **, gsize *, gsize *)’ {aka ‘void (*)(struct _GMimeFilter *, unsigned char *, long unsigned int, long unsigned int, unsigned char **, long unsigned int *, long unsigned int *)’} [-Wincompatible-pointer-types]
19 | private class Geary.RFC822.FilterFlowed : GMime.Filter {
| ^
[5/194] Compiling C object src/engine/libgeary-engine.a.p/meson-generated_rfc822_rfc822-gmime-filter-plain.c.o
FAILED: src/engine/libgeary-engine.a.p/meson-generated_rfc822_rfc822-gmime-filter-plain.c.o
/usr/bin/gcc -Isrc/engine/libgeary-engine.a.p -Isrc/engine -I../src/engine -Isrc -I../src -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gmime-3.0 -I/usr/include/libxml2 -I/usr/include/libytnef -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -D SQLITE_CORE -MD -MQ src/engine/libgeary-engine.a.p/meson-generated_rfc822_rfc822-gmime-filter-plain.c.o -MF src/engine/libgeary-engine.a.p/meson-generated_rfc822_rfc822-gmime-filter-plain.c.o.d -o src/engine/libgeary-engine.a.p/meson-generated_rfc822_rfc822-gmime-filter-plain.c.o -c src/engine/libgeary-engine.a.p/rfc822/rfc822-gmime-filter-plain.c
../src/engine/rfc822/rfc822-gmime-filter-plain.vala: In function ‘geary_rf_c822_filter_plain_real_complete’:
../src/engine/rfc822/rfc822-gmime-filter-plain.vala:61:139: error: passing argument 5 of ‘g_mime_filter_filter’ from incompatible pointer type [-Wincompatible-pointer-types]
61 | filter(inbuf, prespace, out processed_buffer, out outprespace);
| ^
| |
| guint8 ** {aka unsigned char **}
In file included from /usr/include/gmime-3.0/gmime/gmime-format-options.h:25,
from /usr/include/gmime-3.0/gmime/gmime-param.h:27,
from /usr/include/gmime-3.0/gmime/gmime.h:31,
from src/engine/libgeary-engine.a.p/rfc822/rfc822-gmime-filter-plain.c:11:
/usr/include/gmime-3.0/gmime/gmime-filter.h:88:35: note: expected ‘char **’ but argument is of type ‘guint8 **’ {aka ‘unsigned char **’}
88 | char **outbuf, size_t *outlen, size_t *outprespace);
| ~~~~~~~^~~~~~
../src/engine/rfc822/rfc822-gmime-filter-plain.vala: In function ‘geary_rf_c822_filter_plain_class_init’:
../src/engine/rfc822/rfc822-gmime-filter-plain.vala:8:39: error: assignment to ‘void (*)(GMimeFilter *, char *, size_t, size_t, char **, size_t *, size_t *)’ {aka ‘void (*)(struct _GMimeFilter *, char *, long unsigned int, long unsigned int, char **, long unsigned int *, long unsigned int *)’} from incompatible pointer type ‘void (*)(GMimeFilter *, guint8 *, gsize, gsize, guint8 **, gsize *, gsize *)’ {aka ‘void (*)(struct _GMimeFilter *, unsigned char *, long unsigned int, long unsigned int, unsigned char **, long unsigned int *, long unsigned int *)’} [-Wincompatible-pointer-types]
8 | private class Geary.RFC822.FilterPlain : GMime.Filter {
| ^
../src/engine/rfc822/rfc822-gmime-filter-plain.vala:8:41: error: assignment to ‘void (*)(GMimeFilter *, char *, size_t, size_t, char **, size_t *, size_t *)’ {aka ‘void (*)(struct _GMimeFilter *, char *, long unsigned int, long unsigned int, char **, long unsigned int *, long unsigned int *)’} from incompatible pointer type ‘void (*)(GMimeFilter *, guint8 *, gsize, gsize, guint8 **, gsize *, gsize *)’ {aka ‘void (*)(struct _GMimeFilter *, unsigned char *, long unsigned int, long unsigned int, unsigned char **, long unsigned int *, long unsigned int *)’} [-Wincompatible-pointer-types]
8 | private class Geary.RFC822.FilterPlain : GMime.Filter {
| ^
[6/194] Compiling C object src/engine/libgeary-engine.a.p/meson-generated_rfc822_rfc822-gmime-filter-blockquotes.c.o
FAILED: src/engine/libgeary-engine.a.p/meson-generated_rfc822_rfc822-gmime-filter-blockquotes.c.o
/usr/bin/gcc -Isrc/engine/libgeary-engine.a.p -Isrc/engine -I../src/engine -Isrc -I../src -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gmime-3.0 -I/usr/include/libxml2 -I/usr/include/libytnef -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -D SQLITE_CORE -MD -MQ src/engine/libgeary-engine.a.p/meson-generated_rfc822_rfc822-gmime-filter-blockquotes.c.o -MF src/engine/libgeary-engine.a.p/meson-generated_rfc822_rfc822-gmime-filter-blockquotes.c.o.d -o src/engine/libgeary-engine.a.p/meson-generated_rfc822_rfc822-gmime-filter-blockquotes.c.o -c src/engine/libgeary-engine.a.p/rfc822/rfc822-gmime-filter-blockquotes.c
../src/engine/rfc822/rfc822-gmime-filter-blockquotes.vala: In function ‘geary_rf_c822_filter_blockquotes_class_init’:
../src/engine/rfc822/rfc822-gmime-filter-blockquotes.vala:9:39: error: assignment to ‘void (*)(GMimeFilter *, char *, size_t, size_t, char **, size_t *, size_t *)’ {aka ‘void (*)(struct _GMimeFilter *, char *, long unsigned int, long unsigned int, char **, long unsigned int *, long unsigned int *)’} from incompatible pointer type ‘void (*)(GMimeFilter *, guint8 *, gsize, gsize, guint8 **, gsize *, gsize *)’ {aka ‘void (*)(struct _GMimeFilter *, unsigned char *, long unsigned int, long unsigned int, unsigned char **, long unsigned int *, long unsigned int *)’} [-Wincompatible-pointer-types]
9 | private class Geary.RFC822.FilterBlockquotes : GMime.Filter {
| ^
../src/engine/rfc822/rfc822-gmime-filter-blockquotes.vala:9:41: error: assignment to ‘void (*)(GMimeFilter *, char *, size_t, size_t, char **, size_t *, size_t *)’ {aka ‘void (*)(struct _GMimeFilter *, char *, long unsigned int, long unsigned int, char **, long unsigned int *, long unsigned int *)’} from incompatible pointer type ‘void (*)(GMimeFilter *, guint8 *, gsize, gsize, guint8 **, gsize *, gsize *)’ {aka ‘void (*)(struct _GMimeFilter *, unsigned char *, long unsigned int, long unsigned int, unsigned char **, long unsigned int *, long unsigned int *)’} [-Wincompatible-pointer-types]
9 | private class Geary.RFC822.FilterBlockquotes : GMime.Filter {
| ^
[7/194] Compiling C object src/engine/libgeary-engine.a.p/meson-generated_memory_memory-file-buffer.c.o
FAILED: src/engine/libgeary-engine.a.p/meson-generated_memory_memory-file-buffer.c.o
/usr/bin/gcc -Isrc/engine/libgeary-engine.a.p -Isrc/engine -I../src/engine -Isrc -I../src -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gmime-3.0 -I/usr/include/libxml2 -I/usr/include/libytnef -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -D SQLITE_CORE -MD -MQ src/engine/libgeary-engine.a.p/meson-generated_memory_memory-file-buffer.c.o -MF src/engine/libgeary-engine.a.p/meson-generated_memory_memory-file-buffer.c.o.d -o src/engine/libgeary-engine.a.p/meson-generated_memory_memory-file-buffer.c.o -c src/engine/libgeary-engine.a.p/memory/memory-file-buffer.c
../src/engine/memory/memory-file-buffer.vala: In function ‘geary_memory_file_buffer_real_get_bytes’:
../src/engine/memory/memory-file-buffer.vala:41:63: error: passing argument 3 of ‘g_bytes_new_with_free_func’ from incompatible pointer type [-Wincompatible-pointer-types]
41 | return Bytes.new_with_owner(to_unowned_uint8_array(), mmap);
| ^~~~~~
| |
| void (*)(GMappedFile *) {aka void (*)(struct _GMappedFile *)}
In file included from /usr/include/glib-2.0/glib.h:40,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from src/engine/geary-engine.h:6,
from src/engine/libgeary-engine.a.p/memory/memory-file-buffer.c:11:
/usr/include/glib-2.0/glib/gbytes.h:51:66: note: expected ‘GDestroyNotify’ {aka ‘void (*)(void *)’} but argument is of type ‘void (*)(GMappedFile *)’ {aka ‘void (*)(struct _GMappedFile *)’}
51 | GDestroyNotify free_func,
| ~~~~~~~~~~~~~~~~^~~~~~~~~
[8/194] Compiling C object src/engine/libgeary-engine.a.p/meson-generated_util_util-stream.c.o
FAILED: src/engine/libgeary-engine.a.p/meson-generated_util_util-stream.c.o
/usr/bin/gcc -Isrc/engine/libgeary-engine.a.p -Isrc/engine -I../src/engine -Isrc -I../src -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gmime-3.0 -I/usr/include/libxml2 -I/usr/include/libytnef -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -D SQLITE_CORE -MD -MQ src/engine/libgeary-engine.a.p/meson-generated_util_util-stream.c.o -MF src/engine/libgeary-engine.a.p/meson-generated_util_util-stream.c.o.d -o src/engine/libgeary-engine.a.p/meson-generated_util_util-stream.c.o -c src/engine/libgeary-engine.a.p/util/util-stream.c
../src/engine/util/util-stream.vala: In function ‘geary_stream_mime_output_stream_class_init’:
../src/engine/util/util-stream.vala:47:38: error: assignment to ‘ssize_t (*)(GMimeStream *, const char *, size_t)’ {aka ‘long int (*)(struct _GMimeStream *, const char *, long unsigned int)’} from incompatible pointer type ‘gssize (*)(GMimeStream *, guint8 *, gsize)’ {aka ‘long int (*)(struct _GMimeStream *, unsigned char *, long unsigned int)’} [-Wincompatible-pointer-types]
47 | public class MimeOutputStream : GMime.Stream {
| ^
[9/194] Compiling C object src/engine/libgeary-engine.a.p/meson-generated_util_util-object.c.o
FAILED: src/engine/libgeary-engine.a.p/meson-generated_util_util-object.c.o
/usr/bin/gcc -Isrc/engine/libgeary-engine.a.p -Isrc/engine -I../src/engine -Isrc -I../src -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gmime-3.0 -I/usr/include/libxml2 -I/usr/include/libytnef -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -D SQLITE_CORE -MD -MQ src/engine/libgeary-engine.a.p/meson-generated_util_util-object.c.o -MF src/engine/libgeary-engine.a.p/meson-generated_util_util-object.c.o.d -o src/engine/libgeary-engine.a.p/meson-generated_util_util-object.c.o -c src/engine/libgeary-engine.a.p/util/util-object.c
../src/engine/util/util-object.vala: In function ‘geary_object_utils_mirror_properties’:
../src/engine/util/util-object.vala:15:118: error: passing argument 4 of ‘geary_iterate_array’ from incompatible pointer type [-Wincompatible-pointer-types]
15 | Gee.HashSet<ParamSpec> source_properties =
| ^
| |
| GParamSpec ** {aka struct _GParamSpec **}
In file included from src/engine/libgeary-engine.a.p/util/util-object.c:10:
src/engine/geary-engine.h:10474:47: note: expected ‘void **’ but argument is of type ‘GParamSpec **’ {aka ‘struct _GParamSpec **’}
10474 | gpointer* a,
| ~~~~~~~~~~^
../src/engine/util/util-object.vala:17:119: error: passing argument 4 of ‘geary_iterate_array’ from incompatible pointer type [-Wincompatible-pointer-types]
17 | Gee.HashSet<ParamSpec> dest_properties =
| ^
| |
| GParamSpec ** {aka struct _GParamSpec **}
src/engine/geary-engine.h:10474:47: note: expected ‘void **’ but argument is of type ‘GParamSpec **’ {aka ‘struct _GParamSpec **’}
10474 | gpointer* a,
| ~~~~~~~~~~^
[10/194] Compiling C object src/engine/libgeary-engine.a.p/meson-generated_imap-engine_imap-engine-revokable-move.c.o
FAILED: src/engine/libgeary-engine.a.p/meson-generated_imap-engine_imap-engine-revokable-move.c.o
/usr/bin/gcc -Isrc/engine/libgeary-engine.a.p -Isrc/engine -I../src/engine -Isrc -I../src -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gmime-3.0 -I/usr/include/libxml2 -I/usr/include/libytnef -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -D SQLITE_CORE -MD -MQ src/engine/libgeary-engine.a.p/meson-generated_imap-engine_imap-engine-revokable-move.c.o -MF src/engine/libgeary-engine.a.p/meson-generated_imap-engine_imap-engine-revokable-move.c.o.d -o src/engine/libgeary-engine.a.p/meson-generated_imap-engine_imap-engine-revokable-move.c.o -c src/engine/libgeary-engine.a.p/imap-engine/imap-engine-revokable-move.c
../src/engine/imap-engine/imap-engine-revokable-move.vala: In function ‘_geary_imap_engine_revokable_move_on_folders_available_unavailable_geary_account_folders_available_unavailable’:
../src/engine/imap-engine/imap-engine-revokable-move.vala:40:107: error: passing argument 2 of ‘geary_imap_engine_revokable_move_on_folders_available_unavailable’ from incompatible pointer type [-Wincompatible-pointer-types]
40 | account.folders_available_unavailable.disconnect(on_folders_available_unavailable);
| ^
| |
| GeeBidirSortedSet * {aka struct _GeeBidirSortedSet *}
src/engine/libgeary-engine.a.p/imap-engine/imap-engine-revokable-move.c:265:88: note: expected ‘GeeCollection *’ {aka ‘struct _GeeCollection *’} but argument is of type ‘GeeBidirSortedSet *’ {aka ‘struct _GeeBidirSortedSet *’}
265 | GeeCollection* available,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/engine/imap-engine/imap-engine-revokable-move.vala:40:118: error: passing argument 3 of ‘geary_imap_engine_revokable_move_on_folders_available_unavailable’ from incompatible pointer type [-Wincompatible-pointer-types]
40 | account.folders_available_unavailable.disconnect(on_folders_available_unavailable);
| ^
| |
| GeeBidirSortedSet * {aka struct _GeeBidirSortedSet *}
src/engine/libgeary-engine.a.p/imap-engine/imap-engine-revokable-move.c:266:88: note: expected ‘GeeCollection *’ {aka ‘struct _GeeCollection *’} but argument is of type ‘GeeBidirSortedSet *’ {aka ‘struct _GeeBidirSortedSet *’}
266 | GeeCollection* unavailable);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~
[11/194] Compiling C object src/engine/libgeary-engine.a.p/meson-generated_api_geary-endpoint.c.o
FAILED: src/engine/libgeary-engine.a.p/meson-generated_api_geary-endpoint.c.o
/usr/bin/gcc -Isrc/engine/libgeary-engine.a.p -Isrc/engine -I../src/engine -Isrc -I../src -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gmime-3.0 -I/usr/include/libxml2 -I/usr/include/libytnef -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -D SQLITE_CORE -MD -MQ src/engine/libgeary-engine.a.p/meson-generated_api_geary-endpoint.c.o -MF src/engine/libgeary-engine.a.p/meson-generated_api_geary-endpoint.c.o.d -o src/engine/libgeary-engine.a.p/meson-generated_api_geary-endpoint.c.o -c src/engine/libgeary-engine.a.p/api/geary-endpoint.c
../src/engine/api/geary-endpoint.vala: In function ‘geary_endpoint_starttls_handshake_async_co’:
../src/engine/api/geary-endpoint.vala:148:17: error: assignment to ‘GTlsClientConnection *’ {aka ‘struct _GTlsClientConnection *’} from incompatible pointer type ‘GIOStream *’ {aka ‘struct _GIOStream *’} [-Wincompatible-pointer-types]
148 | TlsClientConnection tls_cx = TlsClientConnection.new(
| ^
[12/194] Compiling C object src/engine/libgeary-engine.a.p/meson-generated_app_app-email-store.c.o
FAILED: src/engine/libgeary-engine.a.p/meson-generated_app_app-email-store.c.o
/usr/bin/gcc -Isrc/engine/libgeary-engine.a.p -Isrc/engine -I../src/engine -Isrc -I../src -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gmime-3.0 -I/usr/include/libxml2 -I/usr/include/libytnef -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -D SQLITE_CORE -MD -MQ src/engine/libgeary-engine.a.p/meson-generated_app_app-email-store.c.o -MF src/engine/libgeary-engine.a.p/meson-generated_app_app-email-store.c.o.d -o src/engine/libgeary-engine.a.p/meson-generated_app_app-email-store.c.o -c src/engine/libgeary-engine.a.p/app/app-email-store.c
../src/engine/app/app-email-store.vala: In function ‘geary_app_email_store_do_folder_operation_async_co’:
../src/engine/app/app-email-store.vala:194:27: error: assignment to ‘GearyEmailIdentifier **’ {aka ‘struct _GearyEmailIdentifier **’} from incompatible pointer type ‘void **’ [-Wincompatible-pointer-types]
194 | foreach (Geary.EmailIdentifier id in used_ids.to_array()) {
| ^
[13/194] Compiling C object src/engine/libgeary-engine.a.p/meson-generated_util_util-html.c.o
FAILED: src/engine/libgeary-engine.a.p/meson-generated_util_util-html.c.o
/usr/bin/gcc -Isrc/engine/libgeary-engine.a.p -Isrc/engine -I../src/engine -Isrc -I../src -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gmime-3.0 -I/usr/include/libxml2 -I/usr/include/libytnef -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -D SQLITE_CORE -MD -MQ src/engine/libgeary-engine.a.p/meson-generated_util_util-html.c.o -MF src/engine/libgeary-engine.a.p/meson-generated_util_util-html.c.o.d -o src/engine/libgeary-engine.a.p/meson-generated_util_util-html.c.o -c src/engine/libgeary-engine.a.p/util/util-html.c
../src/engine/util/util-html.vala: In function ‘geary_html_init_element_sets’:
../src/engine/util/util-html.vala:50:105: error: passing argument 2 of ‘gee_collection_add_all_array’ from incompatible pointer type [-Wincompatible-pointer-types]
50 | breaking_elements.add_all_array({
| ^
| |
| gchar ** {aka char **}
In file included from src/engine/geary-engine.h:10,
from src/engine/libgeary-engine.a.p/util/util-html.c:10:
/usr/include/gee-0.8/gee.h:1748:50: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
1748 | gpointer* array,
| ~~~~~~~~~~^~~~~
../src/engine/util/util-html.vala:79:106: error: passing argument 2 of ‘gee_collection_add_all_array’ from incompatible pointer type [-Wincompatible-pointer-types]
79 | spacing_elements.add_all_array({
| ^
| |
| gchar ** {aka char **}
/usr/include/gee-0.8/gee.h:1748:50: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
1748 | gpointer* array,
| ~~~~~~~~~~^~~~~
../src/engine/util/util-html.vala:89:106: error: passing argument 2 of ‘gee_collection_add_all_array’ from incompatible pointer type [-Wincompatible-pointer-types]
89 | alt_text_elements.add_all_array({
| ^
| |
| gchar ** {aka char **}
/usr/include/gee-0.8/gee.h:1748:50: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
1748 | gpointer* array,
| ~~~~~~~~~~^~~~~
../src/engine/util/util-html.vala:95:106: error: passing argument 2 of ‘gee_collection_add_all_array’ from incompatible pointer type [-Wincompatible-pointer-types]
95 | ignored_elements.add_all_array({
| ^
| |
| gchar ** {aka char **}
/usr/include/gee-0.8/gee.h:1748:50: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
1748 | gpointer* array,
| ~~~~~~~~~~^~~~~
../src/engine/util/util-html.vala: In function ‘geary_html_preserve_whitespace’:
../src/engine/util/util-html.vala:117:70: error: passing argument 6 of ‘g_regex_replace_eval’ from incompatible pointer type [-Wincompatible-pointer-types]
117 | preserved = WHITESPACE_REGEX.replace_eval(
| ^
| |
| gboolean (*)(GMatchInfo *, GString *, void *) {aka int (*)(struct _GMatchInfo *, struct _GString *, void *)}
In file included from /usr/include/glib-2.0/glib.h:78,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from src/engine/geary-engine.h:6:
/usr/include/glib-2.0/glib/gregex.h:558:71: note: expected ‘GRegexEvalCallback’ {aka ‘int (*)(const struct _GMatchInfo *, struct _GString *, void *)’} but argument is of type ‘gboolean (*)(GMatchInfo *, GString *, void *)’ {aka ‘int (*)(struct _GMatchInfo *, struct _GString *, void *)’}
558 | GRegexEvalCallback eval,
| ~~~~~~~~~~~~~~~~~~~~~^~~~
[14/194] Compiling C object src/engine/libgeary-engine.a.p/meson-generated_imap-engine_imap-engine-account-synchronizer.c.o
FAILED: src/engine/libgeary-engine.a.p/meson-generated_imap-engine_imap-engine-account-synchronizer.c.o
/usr/bin/gcc -Isrc/engine/libgeary-engine.a.p -Isrc/engine -I../src/engine -Isrc -I../src -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gmime-3.0 -I/usr/include/libxml2 -I/usr/include/libytnef -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -D SQLITE_CORE -MD -MQ src/engine/libgeary-engine.a.p/meson-generated_imap-engine_imap-engine-account-synchronizer.c.o -MF src/engine/libgeary-engine.a.p/meson-generated_imap-engine_imap-engine-account-synchronizer.c.o.d -o src/engine/libgeary-engine.a.p/meson-generated_imap-engine_imap-engine-account-synchronizer.c.o -c src/engine/libgeary-engine.a.p/imap-engine/imap-engine-account-synchronizer.c
../src/engine/imap-engine/imap-engine-account-synchronizer.vala: In function ‘_geary_imap_engine_account_synchronizer_on_folders_discovered_geary_account_folders_available_unavailable’:
../src/engine/imap-engine/imap-engine-account-synchronizer.vala:37:108: error: passing argument 2 of ‘geary_imap_engine_account_synchronizer_on_folders_discovered’ from incompatible pointer type [-Wincompatible-pointer-types]
37 | this.account.folders_available_unavailable.connect(on_folders_discovered);
| ^
| |
| GeeBidirSortedSet * {aka struct _GeeBidirSortedSet *}
src/engine/libgeary-engine.a.p/imap-engine/imap-engine-account-synchronizer.c:685:83: note: expected ‘GeeCollection *’ {aka ‘struct _GeeCollection *’} but argument is of type ‘GeeBidirSortedSet *’ {aka ‘struct _GeeBidirSortedSet *’}
685 | GeeCollection* available,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/engine/imap-engine/imap-engine-account-synchronizer.vala:37:119: error: passing argument 3 of ‘geary_imap_engine_account_synchronizer_on_folders_discovered’ from incompatible pointer type [-Wincompatible-pointer-types]
37 | this.account.folders_available_unavailable.connect(on_folders_discovered);
| ^
| |
| GeeBidirSortedSet * {aka struct _GeeBidirSortedSet *}
src/engine/libgeary-engine.a.p/imap-engine/imap-engine-account-synchronizer.c:686:83: note: expected ‘GeeCollection *’ {aka ‘struct _GeeCollection *’} but argument is of type ‘GeeBidirSortedSet *’ {aka ‘struct _GeeBidirSortedSet *’}
686 | GeeCollection* unavailable);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~
../src/engine/imap-engine/imap-engine-account-synchronizer.vala: In function ‘geary_imap_engine_idle_garbage_collection_real_execute_co’:
../src/engine/imap-engine/imap-engine-account-synchronizer.vala:570:142: error: passing argument 4 of ‘gee_array_list_new_wrap’ from incompatible pointer type [-Wincompatible-pointer-types]
570 | generic_account.local.db.run_gc.begin(
| ^
| |
| GearyClientService ** {aka struct _GearyClientService **}
In file included from src/engine/geary-engine.h:10,
from src/engine/libgeary-engine.a.p/imap-engine/imap-engine-account-synchronizer.c:12:
/usr/include/gee-0.8/gee.h:1668:50: note: expected ‘void **’ but argument is of type ‘GearyClientService **’ {aka ‘struct _GearyClientService **’}
1668 | gpointer* items,
| ~~~~~~~~~~^~~~~
[15/194] Compiling C object src/engine/libgeary-engine.a.p/meson-generated_util_util-config-file.c.o
FAILED: src/engine/libgeary-engine.a.p/meson-generated_util_util-config-file.c.o
/usr/bin/gcc -Isrc/engine/libgeary-engine.a.p -Isrc/engine -I../src/engine -Isrc -I../src -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gmime-3.0 -I/usr/include/libxml2 -I/usr/include/libytnef -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -D SQLITE_CORE -MD -MQ src/engine/libgeary-engine.a.p/meson-generated_util_util-config-file.c.o -MF src/engine/libgeary-engine.a.p/meson-generated_util_util-config-file.c.o.d -o src/engine/libgeary-engine.a.p/meson-generated_util_util-config-file.c.o -c src/engine/libgeary-engine.a.p/util/util-config-file.c
../src/engine/util/util-config-file.vala: In function ‘geary_config_file_group_get_string_list’:
../src/engine/util/util-config-file.vala:131:104: error: passing argument 2 of ‘gee_collection_add_all_array’ from incompatible pointer type [-Wincompatible-pointer-types]
131 | strs.add_all_array(this.backing.get_string_list(this.name, key));
| ^
| |
| gchar ** {aka char **}
In file included from src/engine/geary-engine.h:10,
from src/engine/libgeary-engine.a.p/util/util-config-file.c:11:
/usr/include/gee-0.8/gee.h:1748:50: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
1748 | gpointer* array,
| ~~~~~~~~~~^~~~~
../src/engine/util/util-config-file.vala: In function ‘geary_config_file_group_get_required_string_list’:
../src/engine/util/util-config-file.vala:141:103: error: passing argument 2 of ‘gee_collection_add_all_array’ from incompatible pointer type [-Wincompatible-pointer-types]
141 | strs.add_all_array(this.backing.get_string_list(this.name, key));
| ^
| |
| gchar ** {aka char **}
/usr/include/gee-0.8/gee.h:1748:50: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
1748 | gpointer* array,
| ~~~~~~~~~~^~~~~
../src/engine/util/util-config-file.vala: In function ‘geary_config_file_group_set_string_list’:
../src/engine/util/util-config-file.vala:146:9: error: assignment to ‘gchar **’ {aka ‘char **’} from incompatible pointer type ‘void **’ [-Wincompatible-pointer-types]
146 | this.backing.set_string_list(this.name, key, value.to_array());
| ^
[16/194] Compiling C object src/engine/libgeary-engine.a.p/meson-generated_rfc822_rfc822-message.c.o
FAILED: src/engine/libgeary-engine.a.p/meson-generated_rfc822_rfc822-message.c.o
/usr/bin/gcc -Isrc/engine/libgeary-engine.a.p -Isrc/engine -I../src/engine -Isrc -I../src -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gmime-3.0 -I/usr/include/libxml2 -I/usr/include/libytnef -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -D SQLITE_CORE -MD -MQ src/engine/libgeary-engine.a.p/meson-generated_rfc822_rfc822-message.c.o -MF src/engine/libgeary-engine.a.p/meson-generated_rfc822_rfc822-message.c.o.d -o src/engine/libgeary-engine.a.p/meson-generated_rfc822_rfc822-message.c.o -c src/engine/libgeary-engine.a.p/rfc822/rfc822-message.c
../src/engine/rfc822/rfc822-message.vala: In function ‘geary_rf_c822_message_construct_from_composed_email_co’:
../src/engine/rfc822/rfc822-message.vala:335:12: error: returning ‘void *’ from a function with return type ‘gboolean’ {aka ‘int’} makes integer from pointer without a cast [-Wint-conversion]
335 | try {
| ^~~~
../src/engine/rfc822/rfc822-message.vala:374:15: error: returning ‘void *’ from a function with return type ‘gboolean’ {aka ‘int’} makes integer from pointer without a cast [-Wint-conversion]
374 | try {
| ^
../src/engine/rfc822/rfc822-message.vala:412:16: error: returning ‘void *’ from a function with return type ‘gboolean’ {aka ‘int’} makes integer from pointer without a cast [-Wint-conversion]
412 | try {
| ^
../src/engine/rfc822/rfc822-message.vala:435:12: error: returning ‘void *’ from a function with return type ‘gboolean’ {aka ‘int’} makes integer from pointer without a cast [-Wint-conversion]
435 | try {
| ^~~~
../src/engine/rfc822/rfc822-message.vala:469:13: error: returning ‘void *’ from a function with return type ‘gboolean’ {aka ‘int’} makes integer from pointer without a cast [-Wint-conversion]
469 | try {
| ^~~~
[17/194] Compiling C object src/engine/libgeary-engine.a.p/meson-generated_app_app-search-folder.c.o
FAILED: src/engine/libgeary-engine.a.p/meson-generated_app_app-search-folder.c.o
/usr/bin/gcc -Isrc/engine/libgeary-engine.a.p -Isrc/engine -I../src/engine -Isrc -I../src -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gmime-3.0 -I/usr/include/libxml2 -I/usr/include/libytnef -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -D SQLITE_CORE -MD -MQ src/engine/libgeary-engine.a.p/meson-generated_app_app-search-folder.c.o -MF src/engine/libgeary-engine.a.p/meson-generated_app_app-search-folder.c.o.d -o src/engine/libgeary-engine.a.p/meson-generated_app_app-search-folder.c.o -c src/engine/libgeary-engine.a.p/app/app-search-folder.c
../src/engine/app/app-search-folder.vala: In function ‘_geary_app_search_folder_on_folders_available_unavailable_geary_account_folders_available_unavailable’:
../src/engine/app/app-search-folder.vala:143:90: error: passing argument 2 of ‘geary_app_search_folder_on_folders_available_unavailable’ from incompatible pointer type [-Wincompatible-pointer-types]
143 | account.folders_available_unavailable.disconnect(on_folders_available_unavailable);
| ^~
| |
| GeeBidirSortedSet * {aka struct _GeeBidirSortedSet *}
src/engine/libgeary-engine.a.p/app/app-search-folder.c:660:79: note: expected ‘GeeCollection *’ {aka ‘struct _GeeCollection *’} but argument is of type ‘GeeBidirSortedSet *’ {aka ‘struct _GeeBidirSortedSet *’}
660 | GeeCollection* available,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/engine/app/app-search-folder.vala:143:101: error: passing argument 3 of ‘geary_app_search_folder_on_folders_available_unavailable’ from incompatible pointer type [-Wincompatible-pointer-types]
143 | account.folders_available_unavailable.disconnect(on_folders_available_unavailable);
| ^
| |
| GeeBidirSortedSet * {aka struct _GeeBidirSortedSet *}
src/engine/libgeary-engine.a.p/app/app-search-folder.c:661:79: note: expected ‘GeeCollection *’ {aka ‘struct _GeeCollection *’} but argument is of type ‘GeeBidirSortedSet *’ {aka ‘struct _GeeBidirSortedSet *’}
661 | GeeCollection* unavailable);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~
[18/194] Compiling C object src/engine/libgeary-engine.a.p/meson-generated_imap_api_imap-client-service.c.o
FAILED: src/engine/libgeary-engine.a.p/meson-generated_imap_api_imap-client-service.c.o
/usr/bin/gcc -Isrc/engine/libgeary-engine.a.p -Isrc/engine -I../src/engine -Isrc -I../src -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gmime-3.0 -I/usr/include/libxml2 -I/usr/include/libytnef -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -D SQLITE_CORE -MD -MQ src/engine/libgeary-engine.a.p/meson-generated_imap_api_imap-client-service.c.o -MF src/engine/libgeary-engine.a.p/meson-generated_imap_api_imap-client-service.c.o.d -o src/engine/libgeary-engine.a.p/meson-generated_imap_api_imap-client-service.c.o -c src/engine/libgeary-engine.a.p/imap/api/imap-client-service.c
../src/engine/imap/api/imap-client-service.vala: In function ‘___lambda107_’:
../src/engine/imap/api/imap-client-service.vala:471:21: error: assignment to ‘GearyImapClientSession **’ {aka ‘struct _GearyImapClientSession **’} from incompatible pointer type ‘void **’ [-Wincompatible-pointer-types]
471 | to_close = this.all_sessions.to_array();
| ^
[19/194] Compiling C object src/engine/libgeary-engine.a.p/meson-generated_imap-db_imap-db-account.c.o
FAILED: src/engine/libgeary-engine.a.p/meson-generated_imap-db_imap-db-account.c.o
/usr/bin/gcc -Isrc/engine/libgeary-engine.a.p -Isrc/engine -I../src/engine -Isrc -I../src -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gmime-3.0 -I/usr/include/libxml2 -I/usr/include/libytnef -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -D SQLITE_CORE -MD -MQ src/engine/libgeary-engine.a.p/meson-generated_imap-db_imap-db-account.c.o -MF src/engine/libgeary-engine.a.p/meson-generated_imap-db_imap-db-account.c.o.d -o src/engine/libgeary-engine.a.p/meson-generated_imap-db_imap-db-account.c.o -c src/engine/libgeary-engine.a.p/imap-db/imap-db-account.c
../src/engine/imap-db/imap-db-account.vala: In function ‘geary_imap_db_account_do_get_search_matches’:
../src/engine/imap-db/imap-db-account.vala:1190:107: error: passing argument 2 of ‘gee_collection_add_all_array’ from incompatible pointer type [-Wincompatible-pointer-types]
1190 | matches.add_all_array(result.nonnull_string_at(1).split(","));
| ^
| |
| gchar ** {aka char **}
In file included from src/engine/geary-engine.h:10,
from src/engine/libgeary-engine.a.p/imap-db/imap-db-account.c:12:
/usr/include/gee-0.8/gee.h:1748:50: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
1748 | gpointer* array,
| ~~~~~~~~~~^~~~~
[20/194] Compiling C object src/engine/libgeary-engine.a.p/meson-generated_imap-engine_imap-engine-generic-account.c.o
FAILED: src/engine/libgeary-engine.a.p/meson-generated_imap-engine_imap-engine-generic-account.c.o
/usr/bin/gcc -Isrc/engine/libgeary-engine.a.p -Isrc/engine -I../src/engine -Isrc -I../src -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gmime-3.0 -I/usr/include/libxml2 -I/usr/include/libytnef -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -D SQLITE_CORE -MD -MQ src/engine/libgeary-engine.a.p/meson-generated_imap-engine_imap-engine-generic-account.c.o -MF src/engine/libgeary-engine.a.p/meson-generated_imap-engine_imap-engine-generic-account.c.o.d -o src/engine/libgeary-engine.a.p/meson-generated_imap-engine_imap-engine-generic-account.c.o -c src/engine/libgeary-engine.a.p/imap-engine/imap-engine-generic-account.c
../src/engine/imap-engine/imap-engine-generic-account.vala: In function ‘geary_imap_engine_generic_account_real_cleanup_storage_co’:
../src/engine/imap-engine/imap-engine-generic-account.vala:664:144: error: passing argument 4 of ‘gee_array_list_new_wrap’ from incompatible pointer type [-Wincompatible-pointer-types]
664 | local.db.run_gc.begin(
| ^
| |
| GearyClientService ** {aka struct _GearyClientService **}
In file included from src/engine/geary-engine.h:10,
from src/engine/libgeary-engine.a.p/imap-engine/imap-engine-generic-account.c:12:
/usr/include/gee-0.8/gee.h:1668:50: note: expected ‘void **’ but argument is of type ‘GearyClientService **’ {aka ‘struct _GearyClientService **’}
1668 | gpointer* items,
| ~~~~~~~~~~^~~~~
../src/engine/imap-engine/imap-engine-generic-account.vala: In function ‘geary_imap_engine_generic_account_ensure_special_folder_async_co’:
../src/engine/imap-engine/imap-engine-generic-account.vala:842:120: error: passing argument 4 of ‘gee_array_list_new_wrap’ from incompatible pointer type [-Wincompatible-pointer-types]
842 | information.set_folder_steps_for_use(
| ^
| |
| gchar ** {aka char **}
/usr/include/gee-0.8/gee.h:1668:50: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
1668 | gpointer* items,
| ~~~~~~~~~~^~~~~
../src/engine/imap-engine/imap-engine-generic-account.vala: In function ‘geary_imap_engine_generic_account_find_appropriate_search_stemmer’:
../src/engine/imap-engine/imap-engine-generic-account.vala:1092:18: error: assignment to ‘gchar **’ {aka ‘char **’} from incompatible pointer type ‘const gchar * const*’ {aka ‘const char * const*’} [-Wincompatible-pointer-types]
1092 | foreach (string l in Intl.get_language_names()) {
| ^
[21/194] Compiling C object src/engine/libgeary-engine.a.p/meson-generated_imap_api_imap-folder-session.c.o
FAILED: src/engine/libgeary-engine.a.p/meson-generated_imap_api_imap-folder-session.c.o
/usr/bin/gcc -Isrc/engine/libgeary-engine.a.p -Isrc/engine -I../src/engine -Isrc -I../src -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gmime-3.0 -I/usr/include/libxml2 -I/usr/include/libytnef -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -D SQLITE_CORE -MD -MQ src/engine/libgeary-engine.a.p/meson-generated_imap_api_imap-folder-session.c.o -MF src/engine/libgeary-engine.a.p/meson-generated_imap_api_imap-folder-session.c.o.d -o src/engine/libgeary-engine.a.p/meson-generated_imap_api_imap-folder-session.c.o -c src/engine/libgeary-engine.a.p/imap/api/imap-folder-session.c
../src/engine/imap/api/imap-folder-session.vala: In function ‘geary_imap_folder_session_assemble_list_commands’:
../src/engine/imap/api/imap-folder-session.vala:413:13: error: assignment to ‘gchar **’ {aka ‘char **’} from incompatible pointer type ‘void **’ [-Wincompatible-pointer-types]
413 | header_specifiers[0] = new FetchBodyDataSpecifier.peek(
| ^
[22/194] Compiling C object src/client/plugin/mail-merge/plugin-test.p/meson-generated_mail-merge-test.c.o
FAILED: src/client/plugin/mail-merge/plugin-test.p/meson-generated_mail-merge-test.c.o
/usr/bin/gcc -Isrc/client/plugin/mail-merge/plugin-test.p -Isrc/client/plugin/mail-merge -I../src/client/plugin/mail-merge -Isrc -I../src -Isrc/client -I../src/client -Isrc/engine -I../src/engine -Isubprojects/vala-unit -I../subprojects/vala-unit -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/atk-1.0 -I/usr/include/webkitgtk-4.1 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/plugin/mail-merge/plugin-test.p/meson-generated_mail-merge-test.c.o -MF src/client/plugin/mail-merge/plugin-test.p/meson-generated_mail-merge-test.c.o.d -o src/client/plugin/mail-merge/plugin-test.p/meson-generated_mail-merge-test.c.o -c src/client/plugin/mail-merge/plugin-test.p/mail-merge-test.c
../src/client/plugin/mail-merge/mail-merge-test.vala: In function ‘_vala_main’:
../src/client/plugin/mail-merge/mail-merge-test.vala:15:26: error: passing argument 1 of ‘g_log_set_writer_func’ from incompatible pointer type [-Wincompatible-pointer-types]
15 | GLib.Log.set_writer_func(Geary.Logging.default_log_writer);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| GLogWriterOutput (*)(GLogLevelFlags, GLogField *, gsize, void *) {aka GLogWriterOutput (*)(GLogLevelFlags, struct _GLogField *, long unsigned int, void *)}
In file included from /usr/include/glib-2.0/glib.h:64,
from src/client/plugin/mail-merge/plugin-test.p/mail-merge-test.c:13:
/usr/include/glib-2.0/glib/gmessages.h:217:66: note: expected ‘GLogWriterFunc’ {aka ‘GLogWriterOutput (*)(GLogLevelFlags, const struct _GLogField *, long unsigned int, void *)’} but argument is of type ‘GLogWriterOutput (*)(GLogLevelFlags, GLogField *, gsize, void *)’ {aka ‘GLogWriterOutput (*)(GLogLevelFlags, struct _GLogField *, long unsigned int, void *)’}
217 | void g_log_set_writer_func (GLogWriterFunc func,
| ~~~~~~~~~~~~~~~~~^~~~
[23/194] Compiling C object src/mailer/geary-mailer.p/meson-generated_main.c.o
FAILED: src/mailer/geary-mailer.p/meson-generated_main.c.o
/usr/bin/gcc -Isrc/mailer/geary-mailer.p -Isrc/mailer -I../src/mailer -Isrc -I../src -Isrc/engine -I../src/engine -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gmime-3.0 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/mailer/geary-mailer.p/meson-generated_main.c.o -MF src/mailer/geary-mailer.p/meson-generated_main.c.o.d -o src/mailer/geary-mailer.p/meson-generated_main.c.o -c src/mailer/geary-mailer.p/main.c
../src/mailer/main.vala: In function ‘_vala_main’:
../src/mailer/main.vala:165:26: error: passing argument 1 of ‘g_log_set_writer_func’ from incompatible pointer type [-Wincompatible-pointer-types]
165 | GLib.Log.set_writer_func(Geary.Logging.default_log_writer);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| GLogWriterOutput (*)(GLogLevelFlags, GLogField *, gsize, void *) {aka GLogWriterOutput (*)(GLogLevelFlags, struct _GLogField *, long unsigned int, void *)}
In file included from /usr/include/glib-2.0/glib.h:64,
from src/mailer/geary-mailer.p/main.c:10:
/usr/include/glib-2.0/glib/gmessages.h:217:66: note: expected ‘GLogWriterFunc’ {aka ‘GLogWriterOutput (*)(GLogLevelFlags, const struct _GLogField *, long unsigned int, void *)’} but argument is of type ‘GLogWriterOutput (*)(GLogLevelFlags, GLogField *, gsize, void *)’ {aka ‘GLogWriterOutput (*)(GLogLevelFlags, struct _GLogField *, long unsigned int, void *)’}
217 | void g_log_set_writer_func (GLogWriterFunc func,
| ~~~~~~~~~~~~~~~~~^~~~
[24/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_components_components-conversation-actions.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_components_components-conversation-actions.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_components_components-conversation-actions.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_components_components-conversation-actions.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_components_components-conversation-actions.c.o -c src/client/libgeary-client-44.1.so.p/components/components-conversation-actions.c
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
from /usr/include/glib-2.0/gobject/gbinding.h:31,
from /usr/include/glib-2.0/glib-object.h:24,
from src/engine/geary-engine.h:6,
from src/client/geary-client-44.1.h:6,
from src/client/libgeary-client-44.1.so.p/components/components-conversation-actions.c:12:
../src/client/components/components-conversation-actions.vala: In function ‘components_conversation_actions_init’:
/usr/include/glib-2.0/gobject/gtype.h:2656:42: error: passing argument 2 of ‘gtk_menu_button_set_popover’ from incompatible pointer type [-Wincompatible-pointer-types]
2656 | # define _G_TYPE_CIC(ip, gt, ct) ((ct*) (void *) ip)
| ^
| |
| GtkPopover * {aka struct _GtkPopover *}
/usr/include/glib-2.0/gobject/gtype.h:528:66: note: in expansion of macro ‘_G_TYPE_CIC’
528 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type))
| ^~~~~~~~~~~
../src/client/components/components-conversation-actions.vala:89:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
89 | this.copy_message_button.popover = new FolderPopover(config);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:146,
from /usr/include/libhandy-1/handy.h:9,
from src/client/geary-client-44.1.h:13:
/usr/include/gtk-3.0/gtk/gtkmenubutton.h:77:61: note: expected ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} but argument is of type ‘GtkPopover *’ {aka ‘struct _GtkPopover *’}
77 | GtkWidget *popover);
| ~~~~~~~~~~~~~~~^~~~~~~
../src/client/components/components-conversation-actions.vala: In function ‘components_conversation_actions_constructor’:
../src/client/components/components-conversation-actions.vala:72:39: error: passing argument 2 of ‘gtk_menu_button_set_popover’ from incompatible pointer type [-Wincompatible-pointer-types]
72 | this.mark_message_button.popover = new Gtk.Popover.from_model(null, mark_menu);
| ^~~~~~
| |
| GtkPopover * {aka struct _GtkPopover *}
/usr/include/gtk-3.0/gtk/gtkmenubutton.h:77:61: note: expected ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} but argument is of type ‘GtkPopover *’ {aka ‘struct _GtkPopover *’}
77 | GtkWidget *popover);
| ~~~~~~~~~~~~~~~^~~~~~~
[25/194] Compiling C object src/client/plugin/mail-merge/plugin-test.p/meson-generated_mail-merge-test-reader.c.o
FAILED: src/client/plugin/mail-merge/plugin-test.p/meson-generated_mail-merge-test-reader.c.o
/usr/bin/gcc -Isrc/client/plugin/mail-merge/plugin-test.p -Isrc/client/plugin/mail-merge -I../src/client/plugin/mail-merge -Isrc -I../src -Isrc/client -I../src/client -Isrc/engine -I../src/engine -Isubprojects/vala-unit -I../subprojects/vala-unit -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/atk-1.0 -I/usr/include/webkitgtk-4.1 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/plugin/mail-merge/plugin-test.p/meson-generated_mail-merge-test-reader.c.o -MF src/client/plugin/mail-merge/plugin-test.p/meson-generated_mail-merge-test-reader.c.o.d -o src/client/plugin/mail-merge/plugin-test.p/meson-generated_mail-merge-test-reader.c.o -c src/client/plugin/mail-merge/plugin-test.p/mail-merge-test-reader.c
../src/client/plugin/mail-merge/mail-merge-test-reader.vala: In function ‘mail_merge_test_reader_read_simple_lf’:
../src/client/plugin/mail-merge/mail-merge-test-reader.vala:29:210: error: passing argument 5 of ‘vala_unit_test_assertions_assert_array’ from incompatible pointer type [-Wincompatible-pointer-types]
29 | assert_array(
| ^
| |
| gchar ** {aka char **}
In file included from src/client/plugin/mail-merge/plugin-test.p/mail-merge-test-reader.c:11:
subprojects/vala-unit/vala-unit.h:354:81: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
354 | gpointer* actual,
| ~~~~~~~~~~^~~~~~
../src/client/plugin/mail-merge/mail-merge-test-reader.vala:35:210: error: passing argument 5 of ‘vala_unit_test_assertions_assert_array’ from incompatible pointer type [-Wincompatible-pointer-types]
35 | assert_array(
| ^
| |
| gchar ** {aka char **}
subprojects/vala-unit/vala-unit.h:354:81: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
354 | gpointer* actual,
| ~~~~~~~~~~^~~~~~
../src/client/plugin/mail-merge/mail-merge-test-reader.vala:43:208: error: passing argument 5 of ‘vala_unit_test_assertions_assert_array_is_null’ from incompatible pointer type [-Wincompatible-pointer-types]
43 | assert_array_is_null(eof1);
| ^
| |
| gchar ** {aka char **}
subprojects/vala-unit/vala-unit.h:362:64: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
362 | gpointer* actual,
| ~~~~~~~~~~^~~~~~
../src/client/plugin/mail-merge/mail-merge-test-reader.vala:47:208: error: passing argument 5 of ‘vala_unit_test_assertions_assert_array_is_null’ from incompatible pointer type [-Wincompatible-pointer-types]
47 | assert_array_is_null(eof2);
| ^
| |
| gchar ** {aka char **}
subprojects/vala-unit/vala-unit.h:362:64: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
362 | gpointer* actual,
| ~~~~~~~~~~^~~~~~
../src/client/plugin/mail-merge/mail-merge-test-reader.vala: In function ‘mail_merge_test_reader_read_simple_crlf’:
../src/client/plugin/mail-merge/mail-merge-test-reader.vala:58:210: error: passing argument 5 of ‘vala_unit_test_assertions_assert_array’ from incompatible pointer type [-Wincompatible-pointer-types]
58 | assert_array(
| ^
| |
| gchar ** {aka char **}
subprojects/vala-unit/vala-unit.h:354:81: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
354 | gpointer* actual,
| ~~~~~~~~~~^~~~~~
../src/client/plugin/mail-merge/mail-merge-test-reader.vala:64:210: error: passing argument 5 of ‘vala_unit_test_assertions_assert_array’ from incompatible pointer type [-Wincompatible-pointer-types]
64 | assert_array(
| ^
| |
| gchar ** {aka char **}
subprojects/vala-unit/vala-unit.h:354:81: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
354 | gpointer* actual,
| ~~~~~~~~~~^~~~~~
../src/client/plugin/mail-merge/mail-merge-test-reader.vala:72:208: error: passing argument 5 of ‘vala_unit_test_assertions_assert_array_is_null’ from incompatible pointer type [-Wincompatible-pointer-types]
72 | assert_array_is_null(eof1);
| ^
| |
| gchar ** {aka char **}
subprojects/vala-unit/vala-unit.h:362:64: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
362 | gpointer* actual,
| ~~~~~~~~~~^~~~~~
../src/client/plugin/mail-merge/mail-merge-test-reader.vala:76:208: error: passing argument 5 of ‘vala_unit_test_assertions_assert_array_is_null’ from incompatible pointer type [-Wincompatible-pointer-types]
76 | assert_array_is_null(eof2);
| ^
| |
| gchar ** {aka char **}
subprojects/vala-unit/vala-unit.h:362:64: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
362 | gpointer* actual,
| ~~~~~~~~~~^~~~~~
../src/client/plugin/mail-merge/mail-merge-test-reader.vala: In function ‘mail_merge_test_reader_read_no_trailing_new_line’:
../src/client/plugin/mail-merge/mail-merge-test-reader.vala:87:210: error: passing argument 5 of ‘vala_unit_test_assertions_assert_array’ from incompatible pointer type [-Wincompatible-pointer-types]
87 | assert_array(
| ^
| |
| gchar ** {aka char **}
subprojects/vala-unit/vala-unit.h:354:81: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
354 | gpointer* actual,
| ~~~~~~~~~~^~~~~~
../src/client/plugin/mail-merge/mail-merge-test-reader.vala:93:208: error: passing argument 5 of ‘vala_unit_test_assertions_assert_array_is_null’ from incompatible pointer type [-Wincompatible-pointer-types]
93 | assert_array_is_null(eof1);
| ^
| |
| gchar ** {aka char **}
subprojects/vala-unit/vala-unit.h:362:64: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
362 | gpointer* actual,
| ~~~~~~~~~~^~~~~~
../src/client/plugin/mail-merge/mail-merge-test-reader.vala: In function ‘mail_merge_test_reader_read_empty_records’:
../src/client/plugin/mail-merge/mail-merge-test-reader.vala:104:210: error: passing argument 5 of ‘vala_unit_test_assertions_assert_array’ from incompatible pointer type [-Wincompatible-pointer-types]
104 | assert_array(
| ^
| |
| gchar ** {aka char **}
subprojects/vala-unit/vala-unit.h:354:81: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
354 | gpointer* actual,
| ~~~~~~~~~~^~~~~~
../src/client/plugin/mail-merge/mail-merge-test-reader.vala:110:208: error: passing argument 5 of ‘vala_unit_test_assertions_assert_array_is_null’ from incompatible pointer type [-Wincompatible-pointer-types]
110 | assert_array_is_null(eof1);
| ^
| |
| gchar ** {aka char **}
subprojects/vala-unit/vala-unit.h:362:64: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
362 | gpointer* actual,
| ~~~~~~~~~~^~~~~~
../src/client/plugin/mail-merge/mail-merge-test-reader.vala: In function ‘mail_merge_test_reader_read_multi_byte_chars’:
../src/client/plugin/mail-merge/mail-merge-test-reader.vala:121:210: error: passing argument 5 of ‘vala_unit_test_assertions_assert_array’ from incompatible pointer type [-Wincompatible-pointer-types]
121 | assert_array(
| ^
| |
| gchar ** {aka char **}
subprojects/vala-unit/vala-unit.h:354:81: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
354 | gpointer* actual,
| ~~~~~~~~~~^~~~~~
../src/client/plugin/mail-merge/mail-merge-test-reader.vala:127:208: error: passing argument 5 of ‘vala_unit_test_assertions_assert_array_is_null’ from incompatible pointer type [-Wincompatible-pointer-types]
127 | assert_array_is_null(eof1);
| ^
| |
| gchar ** {aka char **}
subprojects/vala-unit/vala-unit.h:362:64: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
362 | gpointer* actual,
| ~~~~~~~~~~^~~~~~
../src/client/plugin/mail-merge/mail-merge-test-reader.vala: In function ‘mail_merge_test_reader_read_quoted’:
../src/client/plugin/mail-merge/mail-merge-test-reader.vala:139:210: error: passing argument 5 of ‘vala_unit_test_assertions_assert_array’ from incompatible pointer type [-Wincompatible-pointer-types]
139 | assert_array(
| ^
| |
| gchar ** {aka char **}
subprojects/vala-unit/vala-unit.h:354:81: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
354 | gpointer* actual,
| ~~~~~~~~~~^~~~~~
../src/client/plugin/mail-merge/mail-merge-test-reader.vala:150:208: error: passing argument 5 of ‘vala_unit_test_assertions_assert_array_is_null’ from incompatible pointer type [-Wincompatible-pointer-types]
150 | assert_array_is_null(eof1);
| ^
| |
| gchar ** {aka char **}
subprojects/vala-unit/vala-unit.h:362:64: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
362 | gpointer* actual,
| ~~~~~~~~~~^~~~~~
[26/194] Compiling C object test/test-integration.p/meson-generated_test-integration.c.o
FAILED: test/test-integration.p/meson-generated_test-integration.c.o
/usr/bin/gcc -Itest/test-integration.p -Itest -I../test -Isrc -I../src -Isrc/engine -I../src/engine -Isubprojects/vala-unit -I../subprojects/vala-unit -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gmime-3.0 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ test/test-integration.p/meson-generated_test-integration.c.o -MF test/test-integration.p/meson-generated_test-integration.c.o.d -o test/test-integration.p/meson-generated_test-integration.c.o -c test/test-integration.p/test-integration.c
../test/test-integration.vala: In function ‘_vala_main’:
../test/test-integration.vala:39:25: error: passing argument 1 of ‘g_log_set_writer_func’ from incompatible pointer type [-Wincompatible-pointer-types]
39 | GLib.Log.set_writer_func(Geary.Logging.default_log_writer);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| GLogWriterOutput (*)(GLogLevelFlags, GLogField *, gsize, void *) {aka GLogWriterOutput (*)(GLogLevelFlags, struct _GLogField *, long unsigned int, void *)}
In file included from /usr/include/glib-2.0/glib.h:64,
from test/test-integration.p/test-integration.c:12:
/usr/include/glib-2.0/glib/gmessages.h:217:66: note: expected ‘GLogWriterFunc’ {aka ‘GLogWriterOutput (*)(GLogLevelFlags, const struct _GLogField *, long unsigned int, void *)’} but argument is of type ‘GLogWriterOutput (*)(GLogLevelFlags, GLogField *, gsize, void *)’ {aka ‘GLogWriterOutput (*)(GLogLevelFlags, struct _GLogField *, long unsigned int, void *)’}
217 | void g_log_set_writer_func (GLogWriterFunc func,
| ~~~~~~~~~~~~~~~~~^~~~
[27/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_application_application-startup-manager.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_application_application-startup-manager.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_application_application-startup-manager.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_application_application-startup-manager.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_application_application-startup-manager.c.o -c src/client/libgeary-client-44.1.so.p/application/application-startup-manager.c
../src/client/application/application-startup-manager.vala: In function ‘application_startup_manager_request_background_co’:
../src/client/application/application-startup-manager.vala:81:47: error: passing argument 1 of ‘g_variant_new_strv’ from incompatible pointer type [-Wincompatible-pointer-types]
81 | options.insert("commandline", new GLib.Variant.strv(cmdline));
| ~~~~~~^~~~~~~~~
| |
| gchar ** {aka char **}
In file included from /usr/include/glib-2.0/glib/gmessages.h:38,
from /usr/include/glib-2.0/glib.h:64,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from src/engine/geary-engine.h:6,
from src/client/geary-client-44.1.h:6,
from src/client/libgeary-client-44.1.so.p/application/application-startup-manager.c:13:
/usr/include/glib-2.0/glib/gvariant.h:120:96: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
120 | GVariant * g_variant_new_strv (const gchar * const *strv,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~
[28/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_application_goa-mediator.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_application_goa-mediator.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_application_goa-mediator.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_application_goa-mediator.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_application_goa-mediator.c.o -c src/client/libgeary-client-44.1.so.p/application/goa-mediator.c
../src/client/application/goa-mediator.vala: In function ‘goa_mediator_parse_host_name’:
../src/client/application/goa-mediator.vala:185:10: error: assignment to ‘GNetworkAddress *’ {aka ‘struct _GNetworkAddress *’} from incompatible pointer type ‘GSocketConnectable *’ {aka ‘struct _GSocketConnectable *’} [-Wincompatible-pointer-types]
185 | GLib.NetworkAddress address = GLib.NetworkAddress.parse(
| ^
[29/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_components_components-headerbar-application.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_components_components-headerbar-application.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_components_components-headerbar-application.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_components_components-headerbar-application.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_components_components-headerbar-application.c.o -c src/client/libgeary-client-44.1.so.p/components/components-headerbar-application.c
../src/client/components/components-headerbar-application.vala: In function ‘components_application_header_bar_constructor’:
../src/client/components/components-headerbar-application.vala:26:39: error: passing argument 2 of ‘gtk_menu_button_set_popover’ from incompatible pointer type [-Wincompatible-pointer-types]
26 | this.app_menu_button.popover = new Gtk.Popover.from_model(null, app_menu);
| ^~~~~~
| |
| GtkPopover * {aka struct _GtkPopover *}
In file included from /usr/include/gtk-3.0/gtk/gtk.h:146,
from /usr/include/libhandy-1/handy.h:9,
from src/client/geary-client-44.1.h:13,
from src/client/libgeary-client-44.1.so.p/components/components-headerbar-application.c:13:
/usr/include/gtk-3.0/gtk/gtkmenubutton.h:77:61: note: expected ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} but argument is of type ‘GtkPopover *’ {aka ‘struct _GtkPopover *’}
77 | GtkWidget *popover);
| ~~~~~~~~~~~~~~~^~~~~~~
[30/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_conversation-list_conversation-list-model.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_conversation-list_conversation-list-model.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_conversation-list_conversation-list-model.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_conversation-list_conversation-list-model.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_conversation-list_conversation-list-model.c.o -c src/client/libgeary-client-44.1.so.p/conversation-list/conversation-list-model.c
../src/client/conversation-list/conversation-list-model.vala: In function ‘conversation_list_model_update_added’:
../src/client/conversation-list/conversation-list-model.vala:124:11: error: assignment to ‘guint’ {aka ‘unsigned int’} from ‘gpointer’ {aka ‘void *’} makes integer from pointer without a cast [-Wint-conversion]
124 | foreach (unowned uint index in indexes) {
| ^
../src/client/conversation-list/conversation-list-model.vala: In function ‘conversation_list_model_update_removed’:
../src/client/conversation-list/conversation-list-model.vala:144:11: error: assignment to ‘guint’ {aka ‘unsigned int’} from ‘gpointer’ {aka ‘void *’} makes integer from pointer without a cast [-Wint-conversion]
144 | foreach (unowned uint index in indexes) {
| ^
../src/client/conversation-list/conversation-list-model.vala: In function ‘conversation_list_model_g_list_model_interface_init’:
../src/client/conversation-list/conversation-list-model.vala:10:18: error: assignment to ‘void * (*)(GListModel *, guint)’ {aka ‘void * (*)(struct _GListModel *, unsigned int)’} from incompatible pointer type ‘GObject * (*)(GListModel *, guint)’ {aka ‘struct _GObject * (*)(struct _GListModel *, unsigned int)’} [-Wincompatible-pointer-types]
10 | public class ConversationList.Model : Object, ListModel {
| ^
[31/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_application_application-contact-store.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_application_application-contact-store.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_application_application-contact-store.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_application_application-contact-store.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_application_application-contact-store.c.o -c src/client/libgeary-client-44.1.so.p/application/application-contact-store.c
../src/client/application/application-contact-store.vala: In function ‘application_contact_store_class_init’:
../src/client/application/application-contact-store.vala:28:29: error: passing argument 1 of ‘_vala_array_dup3’ from incompatible pointer type [-Wincompatible-pointer-types]
28 | string[] general_fields = Folks.Query.MATCH_FIELDS_NAMES;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const gchar ** {aka const char **}
application-contact-store.c:2787:27: note: expected ‘gchar **’ {aka ‘char **’} but argument is of type ‘const gchar **’ {aka ‘const char **’}
[32/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_application_application-database-manager.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_application_application-database-manager.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_application_application-database-manager.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_application_application-database-manager.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_application_application-database-manager.c.o -c src/client/libgeary-client-44.1.so.p/application/application-database-manager.c
../src/client/application/application-database-manager.vala: In function ‘application_database_manager_on_start’:
../src/client/application/application-database-manager.vala:85:10: error: assignment to ‘GtkBox *’ {aka ‘struct _GtkBox *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
85 | this.dialog.get_content_area().add(grid);
| ^
[33/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_accounts_accounts-editor-list-pane.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_accounts_accounts-editor-list-pane.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_accounts_accounts-editor-list-pane.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_accounts_accounts-editor-list-pane.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_accounts_accounts-editor-list-pane.c.o -c src/client/libgeary-client-44.1.so.p/accounts/accounts-editor-list-pane.c
../src/client/accounts/accounts-editor-list-pane.vala: In function ‘accounts_account_list_row_on_account_changed’:
../src/client/accounts/accounts-editor-list-pane.vala:391:9: error: assignment to ‘GtkContainer *’ {aka ‘struct _GtkContainer *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
391 | Gtk.ListBox? parent = get_parent() as Gtk.ListBox;
| ^
[34/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_composer_contact-entry-completion.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_composer_contact-entry-completion.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_composer_contact-entry-completion.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_composer_contact-entry-completion.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_composer_contact-entry-completion.c.o -c src/client/libgeary-client-44.1.so.p/composer/contact-entry-completion.c
../src/client/composer/contact-entry-completion.vala: In function ‘contact_entry_completion_match_prefix_string’:
../src/client/composer/contact-entry-completion.vala:288:74: error: passing argument 6 of ‘g_regex_replace_eval’ from incompatible pointer type [-Wincompatible-pointer-types]
288 | value = regex.replace_eval(
| ^
| |
| gboolean (*)(GMatchInfo *, GString *, void *) {aka int (*)(struct _GMatchInfo *, struct _GString *, void *)}
In file included from /usr/include/glib-2.0/glib.h:78,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from src/engine/geary-engine.h:6,
from src/client/geary-client-44.1.h:6,
from src/client/libgeary-client-44.1.so.p/composer/contact-entry-completion.c:12:
/usr/include/glib-2.0/glib/gregex.h:558:71: note: expected ‘GRegexEvalCallback’ {aka ‘int (*)(const struct _GMatchInfo *, struct _GString *, void *)’} but argument is of type ‘gboolean (*)(GMatchInfo *, GString *, void *)’ {aka ‘int (*)(struct _GMatchInfo *, struct _GString *, void *)’}
558 | GRegexEvalCallback eval,
| ~~~~~~~~~~~~~~~~~~~~~^~~~
[35/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_application_application-notification-plugin-context.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_application_application-notification-plugin-context.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_application_application-notification-plugin-context.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_application_application-notification-plugin-context.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_application_application-notification-plugin-context.c.o -c src/client/libgeary-client-44.1.so.p/application/application-notification-plugin-context.c
../src/client/application/application-notification-plugin-context.vala: In function ‘application_notification_plugin_context_destroy’:
../src/client/application/application-notification-plugin-context.vala:188:9: error: assignment to ‘GearyFolder **’ {aka ‘struct _GearyFolder **’} from incompatible pointer type ‘void **’ [-Wincompatible-pointer-types]
188 | foreach (Geary.Folder monitored in this.folder_information.keys.to_array()) {
| ^
[36/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_components_components-attachment-pane.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_components_components-attachment-pane.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_components_components-attachment-pane.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_components_components-attachment-pane.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_components_components-attachment-pane.c.o -c src/client/libgeary-client-44.1.so.p/components/components-attachment-pane.c
../src/client/components/components-attachment-pane.vala: In function ‘components_attachment_pane_remove_selected’:
../src/client/components/components-attachment-pane.vala:344:27: error: passing argument 2 of ‘g_list_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
344 | children.foreach(child => {
| ^~~~~~~~~~~~~
| |
| void (*)(const void *, void *)
In file included from /usr/include/glib-2.0/glib/ghash.h:36,
from /usr/include/glib-2.0/glib.h:52,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from src/engine/geary-engine.h:6,
from src/client/geary-client-44.1.h:6,
from src/client/libgeary-client-44.1.so.p/components/components-attachment-pane.c:11:
/usr/include/glib-2.0/glib/glist.h:139:60: note: expected ‘GFunc’ {aka ‘void (*)(void *, void *)’} but argument is of type ‘void (*)(const void *, void *)’
139 | GFunc func,
| ~~~~~~~~~~~~~~~~~~^~~~
../src/client/components/components-attachment-pane.vala: In function ‘components_attachment_pane_on_attachment_popup_menu’:
../src/client/components/components-attachment-pane.vala:494:11: error: assignment to ‘GtkContainer *’ {aka ‘struct _GtkContainer *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
494 | if (focus != null && focus.parent == this.attachments_view) {
| ^
[37/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_components_components-preferences-window.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_components_components-preferences-window.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_components_components-preferences-window.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_components_components-preferences-window.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_components_components-preferences-window.c.o -c src/client/libgeary-client-44.1.so.p/components/components-preferences-window.c
../src/client/components/components-preferences-window.vala: In function ‘components_preferences_window_settings_trust_images_setter’:
../src/client/components/components-preferences-window.vala:274:31: error: passing argument 1 of ‘g_variant_new_strv’ from incompatible pointer type [-Wincompatible-pointer-types]
274 | return new GLib.Variant.strv(values);
| ^~~~~~
| |
| gchar ** {aka char **}
In file included from /usr/include/glib-2.0/glib/gmessages.h:38,
from /usr/include/glib-2.0/glib.h:64,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from src/engine/geary-engine.h:6,
from src/client/geary-client-44.1.h:6,
from src/client/libgeary-client-44.1.so.p/components/components-preferences-window.c:12:
/usr/include/glib-2.0/glib/gvariant.h:120:96: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
120 | GVariant * g_variant_new_strv (const gchar * const *strv,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~
[38/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_components_components-web-view.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_components_components-web-view.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_components_components-web-view.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_components_components-web-view.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_components_components-web-view.c.o -c src/client/libgeary-client-44.1.so.p/components/components-web-view.c
../src/client/components/components-web-view.vala: In function ‘components_web_view_update_spellcheck’:
../src/client/components/components-web-view.vala:191:60: error: passing argument 2 of ‘webkit_web_context_set_spell_checking_languages’ from incompatible pointer type [-Wincompatible-pointer-types]
191 | context.set_spell_checking_languages(langs);
| ^
| |
| gchar ** {aka char **}
In file included from /usr/include/webkitgtk-4.1/webkit/WebKitWebView.h:53,
from /usr/include/webkitgtk-4.1/webkit/WebKitPrintOperation.h:29,
from /usr/include/webkitgtk-4.1/webkit2/webkit2.h:74,
from src/client/geary-client-44.1.h:21,
from src/client/libgeary-client-44.1.so.p/components/components-web-view.c:12:
/usr/include/webkitgtk-4.1/webkit/WebKitWebContext.h:239:85: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
239 | const gchar * const *languages);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
[39/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_components_components-validator.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_components_components-validator.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_components_components-validator.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_components_components-validator.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_components_components-validator.c.o -c src/client/libgeary-client-44.1.so.p/components/components-validator.c
../src/client/components/components-validator.vala: In function ‘components_network_address_validator_real_do_validate’:
../src/client/components/components-validator.vala:463:10: error: assignment to ‘GNetworkAddress *’ {aka ‘struct _GNetworkAddress *’} from incompatible pointer type ‘GSocketConnectable *’ {aka ‘struct _GSocketConnectable *’} [-Wincompatible-pointer-types]
463 | address = GLib.NetworkAddress.parse(
| ^
[40/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_composer_spell-check-popover.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_composer_spell-check-popover.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_composer_spell-check-popover.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_composer_spell-check-popover.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_composer_spell-check-popover.c.o -c src/client/libgeary-client-44.1.so.p/composer/spell-check-popover.c
../src/client/composer/spell-check-popover.vala: In function ‘spell_check_popover_construct’:
../src/client/composer/spell-check-popover.vala:197:39: error: passing argument 2 of ‘gtk_menu_button_set_popover’ from incompatible pointer type [-Wincompatible-pointer-types]
197 | button.popover = this.popover;
| ^
| |
| GtkPopover * {aka struct _GtkPopover *}
In file included from /usr/include/gtk-3.0/gtk/gtk.h:146,
from /usr/include/libhandy-1/handy.h:9,
from src/client/geary-client-44.1.h:13,
from src/client/libgeary-client-44.1.so.p/composer/spell-check-popover.c:10:
/usr/include/gtk-3.0/gtk/gtkmenubutton.h:77:61: note: expected ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} but argument is of type ‘GtkPopover *’ {aka ‘struct _GtkPopover *’}
77 | GtkWidget *popover);
| ~~~~~~~~~~~~~~~^~~~~~~
glib-2.0.vapi: In function ‘_vala_g_hash_set_foreach’:
glib-2.0.vapi:5644:44: error: passing argument 2 of ‘g_hash_table_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
In file included from /usr/include/glib-2.0/glib.h:52,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from src/engine/geary-engine.h:6,
from src/client/geary-client-44.1.h:6:
/usr/include/glib-2.0/glib/ghash.h:114:61: note: expected ‘GHFunc’ {aka ‘void (*)(void *, void *, void *)’} but argument is of type ‘void (*)(const void *, const void *, void *)’
114 | GHFunc func,
| ~~~~~~~~~~~~~~~~^~~~
../src/client/composer/spell-check-popover.vala: In function ‘spell_check_popover_on_row_enabled_changed’:
../src/client/composer/spell-check-popover.vala:313:36: error: passing argument 2 of ‘_vala_g_hash_set_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
313 | selected_rows.foreach((lang) => active_langs += lang);
| ^~~~~~~~~~~~~~~~~~~
| |
| void (*)(const void *, void *)
spell-check-popover.c:1068:33: note: expected ‘GFunc’ {aka ‘void (*)(void *, void *)’} but argument is of type ‘void (*)(const void *, void *)’
[41/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_accounts_accounts-editor-row.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_accounts_accounts-editor-row.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_accounts_accounts-editor-row.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_accounts_accounts-editor-row.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_accounts_accounts-editor-row.c.o -c src/client/libgeary-client-44.1.so.p/accounts/accounts-editor-row.c
../src/client/accounts/accounts-editor-row.vala: In function ‘accounts_editor_row_real_key_press_event’:
../src/client/accounts/accounts-editor-row.vala:73:12: error: assignment to ‘GtkContainer *’ {aka ‘struct _GtkContainer *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
73 | Gtk.ListBox? parent = get_parent() as Gtk.ListBox;
| ^
../src/client/accounts/accounts-editor-row.vala: In function ‘accounts_editor_row_on_drag_motion’:
../src/client/accounts/accounts-editor-row.vala:162:11: error: assignment to ‘GtkContainer *’ {aka ‘struct _GtkContainer *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
162 | Gtk.ListBox? parent = get_parent() as Gtk.ListBox;
| ^
../src/client/accounts/accounts-editor-row.vala: In function ‘accounts_editor_row_on_drag_leave’:
../src/client/accounts/accounts-editor-row.vala:175:10: error: assignment to ‘GtkContainer *’ {aka ‘struct _GtkContainer *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
175 | Gtk.ListBox? parent = get_parent() as Gtk.ListBox;
| ^
../src/client/accounts/accounts-editor-row.vala: In function ‘accounts_editor_row_on_drag_data_received’:
../src/client/accounts/accounts-editor-row.vala:197:9: error: assignment to ‘GtkContainer *’ {aka ‘struct _GtkContainer *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
197 | Gtk.ListBox? parent = this.get_parent() as Gtk.ListBox;
| ^
[42/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_composer_composer-editor.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_composer_composer-editor.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_composer_composer-editor.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_composer_composer-editor.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_composer_composer-editor.c.o -c src/client/libgeary-client-44.1.so.p/composer/composer-editor.c
../src/client/composer/composer-editor.vala: In function ‘_composer_editor_on_justify_gsimple_action_activate_callback’:
../src/client/composer/composer-editor.vala:52:54: error: passing argument 2 of ‘composer_editor_on_justify’ from incompatible pointer type [-Wincompatible-pointer-types]
52 | private const ActionEntry[] ACTIONS = {
| ^
| |
| GSimpleAction * {aka struct _GSimpleAction *}
src/client/libgeary-client-44.1.so.p/composer/composer-editor.c:258:43: note: expected ‘GAction *’ {aka ‘struct _GAction *’} but argument is of type ‘GSimpleAction *’ {aka ‘struct _GSimpleAction *’}
258 | GAction* action,
| ~~~~~~~~~^~~~~~
[43/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_accounts_accounts-editor-add-pane.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_accounts_accounts-editor-add-pane.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_accounts_accounts-editor-add-pane.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_accounts_accounts-editor-add-pane.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_accounts_accounts-editor-add-pane.c.o -c src/client/libgeary-client-44.1.so.p/accounts/accounts-editor-add-pane.c
../src/client/accounts/accounts-editor-add-pane.vala: In function ‘accounts_editor_add_pane_on_smtp_auth_changed’:
../src/client/accounts/accounts-editor-add-pane.vala:524:11: error: assignment to ‘GtkContainer *’ {aka ‘struct _GtkContainer *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
524 | } else if (this.smtp_login.parent != null) {
| ^
[44/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_conversation-list_conversation-list-view.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_conversation-list_conversation-list-view.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_conversation-list_conversation-list-view.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_conversation-list_conversation-list-view.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_conversation-list_conversation-list-view.c.o -c src/client/libgeary-client-44.1.so.p/conversation-list/conversation-list-view.c
../src/client/conversation-list/conversation-list-view.vala: In function ‘conversation_list_view_set_monitor’:
../src/client/conversation-list/conversation-list-view.vala:147:42: error: passing argument 3 of ‘gtk_list_box_bind_model’ from incompatible pointer type [-Wincompatible-pointer-types]
147 | this.list.bind_model(null, row_factory);
| ^~~~~~~~~~~
| |
| GtkWidget * (*)(GObject *, void *) {aka struct _GtkWidget * (*)(struct _GObject *, void *)}
In file included from /usr/include/gtk-3.0/gtk/gtk.h:140,
from /usr/include/libhandy-1/handy.h:9,
from src/client/geary-client-44.1.h:13,
from src/client/libgeary-client-44.1.so.p/conversation-list/conversation-list-view.c:12:
/usr/include/gtk-3.0/gtk/gtklistbox.h:312:89: note: expected ‘GtkListBoxCreateWidgetFunc’ {aka ‘struct _GtkWidget * (*)(void *, void *)’} but argument is of type ‘GtkWidget * (*)(GObject *, void *)’ {aka ‘struct _GtkWidget * (*)(struct _GObject *, void *)’}
312 | GtkListBoxCreateWidgetFunc create_widget_func,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
../src/client/conversation-list/conversation-list-view.vala:150:112: error: passing argument 3 of ‘gtk_list_box_bind_model’ from incompatible pointer type [-Wincompatible-pointer-types]
150 | this.list.bind_model(this.model, row_factory);
| ^
| |
| GtkWidget * (*)(GObject *, void *) {aka struct _GtkWidget * (*)(struct _GObject *, void *)}
/usr/include/gtk-3.0/gtk/gtklistbox.h:312:89: note: expected ‘GtkListBoxCreateWidgetFunc’ {aka ‘struct _GtkWidget * (*)(void *, void *)’} but argument is of type ‘GtkWidget * (*)(GObject *, void *)’ {aka ‘struct _GtkWidget * (*)(struct _GObject *, void *)’}
312 | GtkListBoxCreateWidgetFunc create_widget_func,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[45/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_application_application-configuration.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_application_application-configuration.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_application_application-configuration.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_application_application-configuration.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_application_application-configuration.c.o -c src/client/libgeary-client-44.1.so.p/application/application-configuration.c
../src/client/application/application-configuration.vala: In function ‘application_configuration_set_images_trusted_domains’:
../src/client/application/application-configuration.vala:199:81: error: passing argument 3 of ‘g_settings_set_strv’ from incompatible pointer type [-Wincompatible-pointer-types]
199 | this.settings.set_strv(IMAGES_TRUSTED_DOMAINS, value);
| ^
| |
| gchar ** {aka char **}
In file included from /usr/include/glib-2.0/gio/gio.h:137,
from /usr/include/gee-0.8/gee.h:8,
from src/engine/geary-engine.h:10,
from src/client/geary-client-44.1.h:6,
from src/client/libgeary-client-44.1.so.p/application/application-configuration.c:12:
/usr/include/glib-2.0/gio/gsettings.h:191:94: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
191 | const gchar *const *value);
| ~~~~~~~~~~~~~~~~~~~~^~~~~
../src/client/application/application-configuration.vala: In function ‘application_configuration_set_optional_plugins’:
../src/client/application/application-configuration.vala:231:75: error: passing argument 3 of ‘g_settings_set_strv’ from incompatible pointer type [-Wincompatible-pointer-types]
231 | this.settings.set_strv(OPTIONAL_PLUGINS, value);
| ^
| |
| gchar ** {aka char **}
/usr/include/glib-2.0/gio/gsettings.h:191:94: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
191 | const gchar *const *value);
| ~~~~~~~~~~~~~~~~~~~~^~~~~
../src/client/application/application-configuration.vala: In function ‘application_configuration_get_spell_check_languages’:
../src/client/application/application-configuration.vala:249:10: error: assignment to ‘const gchar **’ {aka ‘const char **’} from incompatible pointer type ‘gchar **’ {aka ‘char **’} [-Wincompatible-pointer-types]
249 | : Util.I18n.get_user_preferred_languages();
| ^
../src/client/application/application-configuration.vala:247:49: error: passing argument 1 of ‘_vala_array_dup2’ from incompatible pointer type [-Wincompatible-pointer-types]
247 | string[] langs = (value != null)
| ^
| |
| const gchar ** {aka const char **}
application-configuration.c:1343:27: note: expected ‘gchar **’ {aka ‘char **’} but argument is of type ‘const gchar **’ {aka ‘const char **’}
../src/client/application/application-configuration.vala:247:73: error: pointer type mismatch in conditional expression [-Wincompatible-pointer-types]
247 | string[] langs = (value != null)
| ^
../src/client/application/application-configuration.vala:247:31: note: first expression has type ‘gchar **’ {aka ‘char **’}
247 | string[] langs = (value != null)
| ^~~~~~~~~~
../src/client/application/application-configuration.vala:247:75: note: second expression has type ‘const gchar **’ {aka ‘const char **’}
247 | string[] langs = (value != null)
| ^
../src/client/application/application-configuration.vala: In function ‘application_configuration_set_spell_check_languages’:
../src/client/application/application-configuration.vala:263:31: error: passing argument 1 of ‘g_variant_new_strv’ from incompatible pointer type [-Wincompatible-pointer-types]
263 | this.settings.set_value(
| ^~
| |
| gchar ** {aka char **}
In file included from /usr/include/glib-2.0/glib/gmessages.h:38,
from /usr/include/glib-2.0/glib.h:64,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from src/engine/geary-engine.h:6:
/usr/include/glib-2.0/glib/gvariant.h:120:96: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
120 | GVariant * g_variant_new_strv (const gchar * const *strv,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~
../src/client/application/application-configuration.vala: In function ‘application_configuration_set_spell_check_visible_languages’:
../src/client/application/application-configuration.vala:286:88: error: passing argument 3 of ‘g_settings_set_strv’ from incompatible pointer type [-Wincompatible-pointer-types]
286 | this.settings.set_strv(SPELL_CHECK_VISIBLE_LANGUAGES, value);
| ^
| |
| gchar ** {aka char **}
/usr/include/glib-2.0/gio/gsettings.h:191:94: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
191 | const gchar *const *value);
| ~~~~~~~~~~~~~~~~~~~~^~~~~
[46/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_accounts_accounts-editor.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_accounts_accounts-editor.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_accounts_accounts-editor.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_accounts_accounts-editor.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_accounts_accounts-editor.c.o -c src/client/libgeary-client-44.1.so.p/accounts/accounts-editor.c
../src/client/accounts/accounts-editor.vala: In function ‘accounts_editor_construct’:
../src/client/accounts/accounts-editor.vala:70:9: error: assignment to ‘GtkBox *’ {aka ‘struct _GtkBox *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
70 | this.get_content_area().border_width = 0;
| ^
[47/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_accounts_accounts-editor-edit-pane.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_accounts_accounts-editor-edit-pane.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_accounts_accounts-editor-edit-pane.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_accounts_accounts-editor-edit-pane.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_accounts_accounts-editor-edit-pane.c.o -c src/client/libgeary-client-44.1.so.p/accounts/accounts-editor-edit-pane.c
../src/client/accounts/accounts-editor-edit-pane.vala: In function ‘__lambda57_’:
../src/client/accounts/accounts-editor-edit-pane.vala:362:9: error: assignment to ‘GtkContainer *’ {aka ‘struct _GtkContainer *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
362 | pane.commands.execute.begin(
| ^
../src/client/accounts/accounts-editor-edit-pane.vala: In function ‘accounts_remove_mailbox_command_construct’:
../src/client/accounts/accounts-editor-edit-pane.vala:709:9: error: assignment to ‘GtkContainer *’ {aka ‘struct _GtkContainer *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
709 | this.list = (Gtk.ListBox) row.get_parent();
| ^
[48/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_application_application-client.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_application_application-client.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_application_application-client.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_application_application-client.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_application_application-client.c.o -c src/client/libgeary-client-44.1.so.p/application/application-client.c
../src/client/application/application-client.vala: In function ‘application_client_add_window_accelerators’:
../src/client/application/application-client.vala:539:129: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
539 | set_accels_for_action(name, all_accel);
| ^
| |
| gchar ** {aka char **}
In file included from /usr/include/gtk-3.0/gtk/gtkwindow.h:33,
from /usr/include/gtk-3.0/gtk/gtkdialog.h:32,
from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
from /usr/include/gtk-3.0/gtk/gtk.h:31,
from /usr/include/libhandy-1/handy.h:9,
from src/client/geary-client-44.1.h:13,
from src/client/libgeary-client-44.1.so.p/application/application-client.c:13:
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../src/client/application/application-client.vala: In function ‘application_client_add_edit_accelerators’:
../src/client/application/application-client.vala:550:129: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
550 | set_accels_for_action(name, all_accel);
| ^
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../src/client/application/application-client.vala: In function ‘application_client_handle_general_options’:
../src/client/application/application-client.vala:1082:51: error: passing argument 1 of ‘_vala_array_dup1’ from incompatible pointer type [-Wincompatible-pointer-types]
1082 | string[] args = options.lookup_value(
| ^
| |
| const gchar ** {aka const char **}
application-client.c:6513:27: note: expected ‘gchar **’ {aka ‘char **’} but argument is of type ‘const gchar **’ {aka ‘const char **’}
../src/client/application/application-client.vala:1082:69: error: pointer type mismatch in conditional expression [-Wincompatible-pointer-types]
1082 | string[] args = options.lookup_value(
| ^
../src/client/application/application-client.vala:1082:33: note: first expression has type ‘gchar **’ {aka ‘char **’}
1082 | string[] args = options.lookup_value(
| ^~~~~~~~~~~~~~~~~
../src/client/application/application-client.vala:1082:71: note: second expression has type ‘const gchar **’ {aka ‘const char **’}
1082 | string[] args = options.lookup_value(
| ^
../src/client/application/application-client.vala: In function ‘application_client_add_app_accelerators’:
../src/client/application/application-client.vala:1121:129: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
1121 | set_accels_for_action("app." + action, accelerators);
| ^
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../src/client/application/application-client.vala: In function ‘application_client_on_activate_help’:
../src/client/application/application-client.vala:1247:11: error: assignment to ‘GtkBox *’ {aka ‘struct _GtkBox *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
1247 | dialog.get_content_area().add(
| ^
[49/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_application_application-command.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_application_application-command.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_application_application-command.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_application_application-command.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_application_application-command.c.o -c src/client/libgeary-client-44.1.so.p/application/application-command.c
../src/client/application/application-command.vala: In function ‘application_command_sequence_construct’:
../src/client/application/application-command.vala:235:106: error: passing argument 2 of ‘gee_collection_add_all_array’ from incompatible pointer type [-Wincompatible-pointer-types]
235 | this.commands.add_all_array(commands);
| ^
| |
| ApplicationCommand ** {aka struct _ApplicationCommand **}
In file included from src/engine/geary-engine.h:10,
from src/client/geary-client-44.1.h:6,
from src/client/libgeary-client-44.1.so.p/application/application-command.c:11:
/usr/include/gee-0.8/gee.h:1748:50: note: expected ‘void **’ but argument is of type ‘ApplicationCommand **’ {aka ‘struct _ApplicationCommand **’}
1748 | gpointer* array,
| ~~~~~~~~~~^~~~~
[50/194] Compiling C object src/libgeary-web-process.so.p/meson-generated_client_web-process_web-process-extension.c.o
FAILED: src/libgeary-web-process.so.p/meson-generated_client_web-process_web-process-extension.c.o
/usr/bin/gcc -Isrc/libgeary-web-process.so.p -Isrc -I../src -Isrc/engine -I../src/engine -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gmime-3.0 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/libgeary-web-process.so.p/meson-generated_client_web-process_web-process-extension.c.o -MF src/libgeary-web-process.so.p/meson-generated_client_web-process_web-process-extension.c.o.d -o src/libgeary-web-process.so.p/meson-generated_client_web-process_web-process-extension.c.o -c src/libgeary-web-process.so.p/client/web-process/web-process-extension.c
../src/client/web-process/web-process-extension.vala: In function ‘webkit_web_extension_initialize_with_user_data’:
../src/client/web-process/web-process-extension.vala:17:26: error: passing argument 1 of ‘g_log_set_writer_func’ from incompatible pointer type [-Wincompatible-pointer-types]
17 | GLib.Log.set_writer_func(Geary.Logging.default_log_writer);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| GLogWriterOutput (*)(GLogLevelFlags, GLogField *, gsize, void *) {aka GLogWriterOutput (*)(GLogLevelFlags, struct _GLogField *, long unsigned int, void *)}
In file included from /usr/include/glib-2.0/glib.h:64,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from /usr/include/webkitgtk-4.1/webkit/WebKitConsoleMessage.h:27,
from /usr/include/webkitgtk-4.1/webkit2/webkit-web-extension.h:29,
from src/geary-web-process.h:6,
from src/libgeary-web-process.so.p/client/web-process/web-process-extension.c:11:
/usr/include/glib-2.0/glib/gmessages.h:217:66: note: expected ‘GLogWriterFunc’ {aka ‘GLogWriterOutput (*)(GLogLevelFlags, const struct _GLogField *, long unsigned int, void *)’} but argument is of type ‘GLogWriterOutput (*)(GLogLevelFlags, GLogField *, gsize, void *)’ {aka ‘GLogWriterOutput (*)(GLogLevelFlags, struct _GLogField *, long unsigned int, void *)’}
217 | void g_log_set_writer_func (GLogWriterFunc func,
| ~~~~~~~~~~~~~~~~~^~~~
[51/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_application_application-certificate-manager.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_application_application-certificate-manager.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_application_application-certificate-manager.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_application_application-certificate-manager.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_application_application-certificate-manager.c.o -c src/client/libgeary-client-44.1.so.p/application/application-certificate-manager.c
../src/client/application/application-certificate-manager.vala: In function ‘application_certificate_manager_is_gcr_enabled_co’:
../src/client/application/application-certificate-manager.vala:53:36: error: assignment to ‘gchar **’ {aka ‘char **’} from incompatible pointer type ‘const gchar **’ {aka ‘const char **’} [-Wincompatible-pointer-types]
53 | Gcr.pkcs11_get_trust_lookup_uris().length > 0
| ^
[52/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_sidebar_sidebar-count-cell-renderer.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_sidebar_sidebar-count-cell-renderer.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_sidebar_sidebar-count-cell-renderer.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_sidebar_sidebar-count-cell-renderer.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_sidebar_sidebar-count-cell-renderer.c.o -c src/client/libgeary-client-44.1.so.p/sidebar/sidebar-count-cell-renderer.c
../src/client/sidebar/sidebar-count-cell-renderer.vala: In function ‘sidebar_count_cell_renderer_class_init’:
../src/client/sidebar/sidebar-count-cell-renderer.vala:10:43: error: assignment to ‘void (*)(GtkCellRenderer *, cairo_t *, GtkWidget *, const GdkRectangle *, const GdkRectangle *, GtkCellRendererState)’ {aka ‘void (*)(struct _GtkCellRenderer *, struct _cairo *, struct _GtkWidget *, const struct _cairo_rectangle_int *, const struct _cairo_rectangle_int *, GtkCellRendererState)’} from incompatible pointer type ‘void (*)(GtkCellRenderer *, cairo_t *, GtkWidget *, GdkRectangle *, GdkRectangle *, GtkCellRendererState)’ {aka ‘void (*)(struct _GtkCellRenderer *, struct _cairo *, struct _GtkWidget *, struct _cairo_rectangle_int *, struct _cairo_rectangle_int *, GtkCellRendererState)’} [-Wincompatible-pointer-types]
10 | public class SidebarCountCellRenderer : Gtk.CellRenderer {
| ^
../src/client/sidebar/sidebar-count-cell-renderer.vala:10:45: error: assignment to ‘void (*)(GtkCellRenderer *, GtkWidget *, const GdkRectangle *, gint *, gint *, gint *, gint *)’ {aka ‘void (*)(struct _GtkCellRenderer *, struct _GtkWidget *, const struct _cairo_rectangle_int *, int *, int *, int *, int *)’} from incompatible pointer type ‘void (*)(GtkCellRenderer *, GtkWidget *, GdkRectangle *, gint *, gint *, gint *, gint *)’ {aka ‘void (*)(struct _GtkCellRenderer *, struct _GtkWidget *, struct _cairo_rectangle_int *, int *, int *, int *, int *)’} [-Wincompatible-pointer-types]
10 | public class SidebarCountCellRenderer : Gtk.CellRenderer {
| ^
[53/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_conversation-viewer_conversation-list-box.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_conversation-viewer_conversation-list-box.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_conversation-viewer_conversation-list-box.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_conversation-viewer_conversation-list-box.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_conversation-viewer_conversation-list-box.c.o -c src/client/libgeary-client-44.1.so.p/conversation-viewer/conversation-list-box.c
../src/client/conversation-viewer/conversation-list-box.vala: In function ‘conversation_list_box_conversation_row_get_previous_sibling’:
../src/client/conversation-viewer/conversation-list-box.vala:341:9: error: assignment to ‘GtkContainer *’ {aka ‘struct _GtkContainer *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
341 | if (this.parent is Gtk.Container) {
| ^
../src/client/conversation-viewer/conversation-list-box.vala:342:10: error: assignment to ‘GtkContainer *’ {aka ‘struct _GtkContainer *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
342 | var siblings = this.parent.get_children();
| ^
[54/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_application_application-main-window.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_application_application-main-window.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_application_application-main-window.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_application_application-main-window.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_application_application-main-window.c.o -c src/client/libgeary-client-44.1.so.p/application/application-main-window.c
../src/client/application/application-main-window.vala: In function ‘application_main_window_on_select_inbox’:
../src/client/application/application-main-window.vala:2368:13: error: assignment to ‘GearyAccount **’ {aka ‘struct _GearyAccount **’} from incompatible pointer type ‘void **’ [-Wincompatible-pointer-types]
2368 | Geary.Account account = accounts.to_array()[account_number];
| ^
[55/194] Compiling C object src/client/plugin/email-templates/libemail-templates.so.p/meson-generated_email-templates.c.o
FAILED: src/client/plugin/email-templates/libemail-templates.so.p/meson-generated_email-templates.c.o
/usr/bin/gcc -Isrc/client/plugin/email-templates/libemail-templates.so.p -Isrc/client/plugin/email-templates -I../src/client/plugin/email-templates -Isrc -I../src -Isrc/client -I../src/client -Isrc/engine -I../src/engine -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/atk-1.0 -I/usr/include/webkitgtk-4.1 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/plugin/email-templates/libemail-templates.so.p/meson-generated_email-templates.c.o -MF src/client/plugin/email-templates/libemail-templates.so.p/meson-generated_email-templates.c.o.d -o src/client/plugin/email-templates/libemail-templates.so.p/meson-generated_email-templates.c.o -c src/client/plugin/email-templates/libemail-templates.so.p/email-templates.c
../src/client/plugin/email-templates/email-templates.vala: In function ‘_plugin_email_templates_on_new_activated_g_simple_action_activate’:
../src/client/plugin/email-templates/email-templates.vala:90:73: error: passing argument 2 of ‘plugin_email_templates_on_new_activated’ from incompatible pointer type [-Wincompatible-pointer-types]
90 | this.new_action.activate.connect(on_new_activated);
| ^
| |
| GSimpleAction * {aka struct _GSimpleAction *}
src/client/plugin/email-templates/libemail-templates.so.p/email-templates.c:330:56: note: expected ‘GAction *’ {aka ‘struct _GAction *’} but argument is of type ‘GSimpleAction *’ {aka ‘struct _GSimpleAction *’}
330 | GAction* action,
| ~~~~~~~~~^~~~~~
../src/client/plugin/email-templates/email-templates.vala: In function ‘_plugin_email_templates_on_edit_activated_g_simple_action_activate’:
../src/client/plugin/email-templates/email-templates.vala:96:74: error: passing argument 2 of ‘plugin_email_templates_on_edit_activated’ from incompatible pointer type [-Wincompatible-pointer-types]
96 | this.edit_action.activate.connect(on_edit_activated);
| ^
| |
| GSimpleAction * {aka struct _GSimpleAction *}
src/client/plugin/email-templates/libemail-templates.so.p/email-templates.c:336:57: note: expected ‘GAction *’ {aka ‘struct _GAction *’} but argument is of type ‘GSimpleAction *’ {aka ‘struct _GSimpleAction *’}
336 | GAction* action,
| ~~~~~~~~~^~~~~~
../src/client/plugin/email-templates/email-templates.vala: In function ‘_plugin_email_templates_on_send_activated_g_simple_action_activate’:
../src/client/plugin/email-templates/email-templates.vala:102:74: error: passing argument 2 of ‘plugin_email_templates_on_send_activated’ from incompatible pointer type [-Wincompatible-pointer-types]
102 | this.send_action.activate.connect(on_send_activated);
| ^
| |
| GSimpleAction * {aka struct _GSimpleAction *}
src/client/plugin/email-templates/libemail-templates.so.p/email-templates.c:342:57: note: expected ‘GAction *’ {aka ‘struct _GAction *’} but argument is of type ‘GSimpleAction *’ {aka ‘struct _GSimpleAction *’}
342 | GAction* action,
| ~~~~~~~~~^~~~~~
../src/client/plugin/email-templates/email-templates.vala: In function ‘plugin_email_templates_real_activate_co’:
../src/client/plugin/email-templates/email-templates.vala:71:113: error: passing argument 4 of ‘geary_iterate_array’ from incompatible pointer type [-Wincompatible-pointer-types]
71 | Geary.iterate_array(LOC_NAMES.split("|")).map<string>(
| ^
| |
| gchar ** {aka char **}
In file included from src/client/geary-client-44.1.h:6,
from src/client/plugin/email-templates/email-templates.h:7,
from src/client/plugin/email-templates/libemail-templates.so.p/email-templates.c:11:
src/engine/geary-engine.h:10474:47: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
10474 | gpointer* a,
| ~~~~~~~~~~^
../src/client/plugin/email-templates/email-templates.vala:74:114: error: passing argument 4 of ‘geary_iterate_array’ from incompatible pointer type [-Wincompatible-pointer-types]
74 | Geary.iterate_array(UNLOC_NAMES.split("|")).map<string>(
| ^
| |
| gchar ** {aka char **}
src/engine/geary-engine.h:10474:47: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
10474 | gpointer* a,
| ~~~~~~~~~~^
../src/client/plugin/email-templates/email-templates.vala: In function ‘plugin_email_templates_real_deactivate_co’:
../src/client/plugin/email-templates/email-templates.vala:113:17: error: assignment to ‘PluginFolder **’ {aka ‘struct _PluginFolder **’} from incompatible pointer type ‘void **’ [-Wincompatible-pointer-types]
113 | foreach (var folder in this.info_bars.keys.to_array()) {
| ^
[56/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_application_application-plugin-manager.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_application_application-plugin-manager.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_application_application-plugin-manager.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_application_application-plugin-manager.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_application_application-plugin-manager.c.o -c src/client/libgeary-client-44.1.so.p/application/application-plugin-manager.c
../src/client/application/application-plugin-manager.vala: In function ‘application_plugin_manager_is_autoload’:
../src/client/application/application-plugin-manager.vala:687:40: error: passing argument 1 of ‘_vala_string_array_contains’ from incompatible pointer type [-Wincompatible-pointer-types]
687 | return info.get_module_name() in AUTOLOAD_MODULES;
| ^~~~~~~~~~~~~~~~~~~
| |
| const gchar ** {aka const char **}
application-plugin-manager.c:1097:39: note: expected ‘gchar **’ {aka ‘char **’} but argument is of type ‘const gchar **’ {aka ‘const char **’}
[57/194] Compiling C object src/client/plugin/special-folders/libspecial-folders.so.p/meson-generated_special-folders.c.o
FAILED: src/client/plugin/special-folders/libspecial-folders.so.p/meson-generated_special-folders.c.o
/usr/bin/gcc -Isrc/client/plugin/special-folders/libspecial-folders.so.p -Isrc/client/plugin/special-folders -I../src/client/plugin/special-folders -Isrc -I../src -Isrc/client -I../src/client -Isrc/engine -I../src/engine -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/atk-1.0 -I/usr/include/webkitgtk-4.1 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/plugin/special-folders/libspecial-folders.so.p/meson-generated_special-folders.c.o -MF src/client/plugin/special-folders/libspecial-folders.so.p/meson-generated_special-folders.c.o.d -o src/client/plugin/special-folders/libspecial-folders.so.p/meson-generated_special-folders.c.o -c src/client/plugin/special-folders/libspecial-folders.so.p/special-folders.c
../src/client/plugin/special-folders/special-folders.vala: In function ‘_plugin_special_folders_on_edit_activated_g_simple_action_activate’:
../src/client/plugin/special-folders/special-folders.vala:63:74: error: passing argument 2 of ‘plugin_special_folders_on_edit_activated’ from incompatible pointer type [-Wincompatible-pointer-types]
63 | this.edit_action.activate.connect(on_edit_activated);
| ^
| |
| GSimpleAction * {aka struct _GSimpleAction *}
src/client/plugin/special-folders/libspecial-folders.so.p/special-folders.c:208:57: note: expected ‘GAction *’ {aka ‘struct _GAction *’} but argument is of type ‘GSimpleAction *’ {aka ‘struct _GSimpleAction *’}
208 | GAction* action,
| ~~~~~~~~~^~~~~~
../src/client/plugin/special-folders/special-folders.vala: In function ‘_plugin_special_folders_on_empty_activated_g_simple_action_activate’:
../src/client/plugin/special-folders/special-folders.vala:69:75: error: passing argument 2 of ‘plugin_special_folders_on_empty_activated’ from incompatible pointer type [-Wincompatible-pointer-types]
69 | this.empty_action.activate.connect(on_empty_activated);
| ^
| |
| GSimpleAction * {aka struct _GSimpleAction *}
src/client/plugin/special-folders/libspecial-folders.so.p/special-folders.c:214:58: note: expected ‘GAction *’ {aka ‘struct _GAction *’} but argument is of type ‘GSimpleAction *’ {aka ‘struct _GSimpleAction *’}
214 | GAction* action,
| ~~~~~~~~~^~~~~~
[58/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_composer_composer-widget.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_composer_composer-widget.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_composer_composer-widget.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_composer_composer-widget.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_composer_composer-widget.c.o -c src/client/libgeary-client-44.1.so.p/composer/composer-widget.c
../src/client/composer/composer-widget.vala: In function ‘composer_widget_get_container’:
../src/client/composer/composer-widget.vala:446:9: error: assignment to ‘GtkContainer *’ {aka ‘struct _GtkContainer *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
446 | get { return this.parent as Container; }
| ^
../src/client/composer/composer-widget.vala: In function ‘composer_widget_embed_header’:
../src/client/composer/composer-widget.vala:1446:9: error: assignment to ‘GtkContainer *’ {aka ‘struct _GtkContainer *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
1446 | if (this.header.parent == null) {
| ^
../src/client/composer/composer-widget.vala: In function ‘composer_widget_free_header’:
../src/client/composer/composer-widget.vala:1453:9: error: assignment to ‘GtkContainer *’ {aka ‘struct _GtkContainer *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
1453 | if (this.header.parent != null) {
| ^
../src/client/composer/composer-widget.vala:1454:10: error: assignment to ‘GtkContainer *’ {aka ‘struct _GtkContainer *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
1454 | this.header.parent.remove(this.header);
| ^
../src/client/composer/composer-widget.vala: In function ‘composer_widget_reparent_widget’:
../src/client/composer/composer-widget.vala:2146:9: error: assignment to ‘GtkContainer *’ {aka ‘struct _GtkContainer *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
2146 | ((Gtk.Container) child.get_parent()).remove(child);
| ^
../src/client/composer/composer-widget.vala: In function ‘composer_widget_update_signature_co’:
../src/client/composer/composer-widget.vala:2339:66: error: passing argument 3 of ‘g_file_load_contents_finish’ from incompatible pointer type [-Wincompatible-pointer-types]
2339 | yield signature_file.load_contents_async(cancellable, out data, null);
| ^~~~~~~~~~~~~~~~
| |
| guint8 ** {aka unsigned char **}
In file included from /usr/include/glib-2.0/gio/gio.h:81,
from /usr/include/gee-0.8/gee.h:8,
from src/engine/geary-engine.h:10,
from src/client/geary-client-44.1.h:6,
from src/client/libgeary-client-44.1.so.p/composer/composer-widget.c:14:
/usr/include/glib-2.0/gio/gfile.h:1276:71: note: expected ‘char **’ but argument is of type ‘guint8 **’ {aka ‘unsigned char **’}
1276 | char **contents,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
[59/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_conversation-viewer_conversation-viewer.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_conversation-viewer_conversation-viewer.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_conversation-viewer_conversation-viewer.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_conversation-viewer_conversation-viewer.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_conversation-viewer_conversation-viewer.c.o -c src/client/libgeary-client-44.1.so.p/conversation-viewer/conversation-viewer.c
../src/client/conversation-viewer/conversation-viewer.vala: In function ‘_conversation_viewer_on_find_next_gtk_button_activate’:
../src/client/conversation-viewer/conversation-viewer.vala:13:64: error: passing argument 2 of ‘conversation_viewer_on_find_next’ from incompatible pointer type [-Wincompatible-pointer-types]
13 | public class ConversationViewer : Gtk.Stack, Geary.BaseInterface {
| ^~~
| |
| GtkButton * {aka struct _GtkButton *}
conversation-viewer.c:2272:46: note: expected ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} but argument is of type ‘GtkButton *’ {aka ‘struct _GtkButton *’}
../src/client/conversation-viewer/conversation-viewer.vala: In function ‘_conversation_viewer_on_find_prev_gtk_button_clicked’:
../src/client/conversation-viewer/conversation-viewer.vala:13:64: error: passing argument 2 of ‘conversation_viewer_on_find_prev’ from incompatible pointer type [-Wincompatible-pointer-types]
13 | public class ConversationViewer : Gtk.Stack, Geary.BaseInterface {
| ^~~
| |
| GtkButton * {aka struct _GtkButton *}
conversation-viewer.c:2298:46: note: expected ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} but argument is of type ‘GtkButton *’ {aka ‘struct _GtkButton *’}
[60/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_util_util-i18n.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_util_util-i18n.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_util_util-i18n.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_util_util-i18n.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_util_util-i18n.c.o -c src/client/libgeary-client-44.1.so.p/util/util-i18n.c
../src/client/util/util-i18n.vala: In function ‘util_i18n_get_available_locales’:
../src/client/util/util-i18n.vala:91:31: error: passing argument 1 of ‘g_subprocess_newv’ from incompatible pointer type [-Wincompatible-pointer-types]
91 | GLib.Subprocess p = new GLib.Subprocess.newv({ "locale", "-a" },
| ^~~~~~
| |
| gchar ** {aka char **}
In file included from /usr/include/glib-2.0/gio/gio.h:155,
from /usr/include/gee-0.8/gee.h:8,
from src/engine/geary-engine.h:10,
from src/client/geary-client-44.1.h:6,
from src/client/libgeary-client-44.1.so.p/util/util-i18n.c:15:
/usr/include/glib-2.0/gio/gsubprocess.h:49:80: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
49 | GSubprocess * g_subprocess_newv (const gchar * const *argv,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~
../src/client/util/util-i18n.vala: In function ‘util_i18n_get_user_preferred_languages’:
../src/client/util/util-i18n.vala:139:20: error: assignment to ‘gchar **’ {aka ‘char **’} from incompatible pointer type ‘const gchar * const*’ {aka ‘const char * const*’} [-Wincompatible-pointer-types]
139 | unowned string[] language_names = GLib.Intl.get_language_names();
| ^
[61/194] Compiling C object src/client/plugin/mail-merge/libmail-merge.so.p/meson-generated_mail-merge.c.o
FAILED: src/client/plugin/mail-merge/libmail-merge.so.p/meson-generated_mail-merge.c.o
/usr/bin/gcc -Isrc/client/plugin/mail-merge/libmail-merge.so.p -Isrc/client/plugin/mail-merge -I../src/client/plugin/mail-merge -Isrc -I../src -Isrc/client -I../src/client -Isrc/engine -I../src/engine -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/atk-1.0 -I/usr/include/webkitgtk-4.1 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/plugin/mail-merge/libmail-merge.so.p/meson-generated_mail-merge.c.o -MF src/client/plugin/mail-merge/libmail-merge.so.p/meson-generated_mail-merge.c.o.d -o src/client/plugin/mail-merge/libmail-merge.so.p/meson-generated_mail-merge.c.o -c src/client/plugin/mail-merge/libmail-merge.so.p/mail-merge.c
../src/client/plugin/mail-merge/mail-merge.vala: In function ‘_plugin_mail_merge_on_edit_activated_g_simple_action_activate’:
../src/client/plugin/mail-merge/mail-merge.vala:102:64: error: passing argument 2 of ‘plugin_mail_merge_on_edit_activated’ from incompatible pointer type [-Wincompatible-pointer-types]
102 | this.edit_action.activate.connect(on_edit_activated);
| ^
| |
| GSimpleAction * {aka struct _GSimpleAction *}
src/client/plugin/mail-merge/libmail-merge.so.p/mail-merge.c:518:52: note: expected ‘GAction *’ {aka ‘struct _GAction *’} but argument is of type ‘GSimpleAction *’ {aka ‘struct _GSimpleAction *’}
518 | GAction* action,
| ~~~~~~~~~^~~~~~
../src/client/plugin/mail-merge/mail-merge.vala: In function ‘_plugin_mail_merge_on_merge_activated_g_simple_action_activate’:
../src/client/plugin/mail-merge/mail-merge.vala:108:65: error: passing argument 2 of ‘plugin_mail_merge_on_merge_activated’ from incompatible pointer type [-Wincompatible-pointer-types]
108 | this.merge_action.activate.connect(on_merge_activated);
| ^
| |
| GSimpleAction * {aka struct _GSimpleAction *}
src/client/plugin/mail-merge/libmail-merge.so.p/mail-merge.c:524:53: note: expected ‘GAction *’ {aka ‘struct _GAction *’} but argument is of type ‘GSimpleAction *’ {aka ‘struct _GSimpleAction *’}
524 | GAction* action,
| ~~~~~~~~~^~~~~~
../src/client/plugin/mail-merge/mail-merge.vala: In function ‘_plugin_mail_merge_on_start_activated_g_simple_action_activate’:
../src/client/plugin/mail-merge/mail-merge.vala:112:65: error: passing argument 2 of ‘plugin_mail_merge_on_start_activated’ from incompatible pointer type [-Wincompatible-pointer-types]
112 | this.start_action.activate.connect(on_start_activated);
| ^
| |
| GSimpleAction * {aka struct _GSimpleAction *}
src/client/plugin/mail-merge/libmail-merge.so.p/mail-merge.c:530:53: note: expected ‘GAction *’ {aka ‘struct _GAction *’} but argument is of type ‘GSimpleAction *’ {aka ‘struct _GSimpleAction *’}
530 | GAction* action,
| ~~~~~~~~~^~~~~~
../src/client/plugin/mail-merge/mail-merge.vala: In function ‘_plugin_mail_merge_on_pause_activated_g_simple_action_activate’:
../src/client/plugin/mail-merge/mail-merge.vala:124:65: error: passing argument 2 of ‘plugin_mail_merge_on_pause_activated’ from incompatible pointer type [-Wincompatible-pointer-types]
124 | this.pause_action.activate.connect(on_pause_activated);
| ^
| |
| GSimpleAction * {aka struct _GSimpleAction *}
src/client/plugin/mail-merge/libmail-merge.so.p/mail-merge.c:536:53: note: expected ‘GAction *’ {aka ‘struct _GAction *’} but argument is of type ‘GSimpleAction *’ {aka ‘struct _GSimpleAction *’}
536 | GAction* action,
| ~~~~~~~~~^~~~~~
../src/client/plugin/mail-merge/mail-merge.vala: In function ‘plugin_mail_merge_real_activate_co’:
../src/client/plugin/mail-merge/mail-merge.vala:85:113: error: passing argument 4 of ‘geary_iterate_array’ from incompatible pointer type [-Wincompatible-pointer-types]
85 | Geary.iterate_array(LOC_NAMES.split("|")).map<string>(
| ^
| |
| gchar ** {aka char **}
In file included from src/client/geary-client-44.1.h:6,
from src/client/plugin/mail-merge/mail-merge.h:7,
from src/client/plugin/mail-merge/libmail-merge.so.p/mail-merge.c:11:
src/engine/geary-engine.h:10474:47: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
10474 | gpointer* a,
| ~~~~~~~~~~^
../src/client/plugin/mail-merge/mail-merge.vala:88:114: error: passing argument 4 of ‘geary_iterate_array’ from incompatible pointer type [-Wincompatible-pointer-types]
88 | Geary.iterate_array(UNLOC_NAMES.split("|")).map<string>(
| ^
| |
| gchar ** {aka char **}
src/engine/geary-engine.h:10474:47: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
10474 | gpointer* a,
| ~~~~~~~~~~^
[62/194] Compiling C object src/client/libgeary-client-44.1.so.p/meson-generated_conversation-viewer_conversation-message.c.o
FAILED: src/client/libgeary-client-44.1.so.p/meson-generated_conversation-viewer_conversation-message.c.o
/usr/bin/gcc -Isrc/client/libgeary-client-44.1.so.p -Isrc/client -I../src/client -Isrc -I../src -Isrc/engine -I../src/engine -Iui -I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gcr-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gspell-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/json-glib-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsecret-1 -I/usr/include/gio-unix-2.0 -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -fPIC -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/client/libgeary-client-44.1.so.p/meson-generated_conversation-viewer_conversation-message.c.o -MF src/client/libgeary-client-44.1.so.p/meson-generated_conversation-viewer_conversation-message.c.o.d -o src/client/libgeary-client-44.1.so.p/meson-generated_conversation-viewer_conversation-message.c.o -c src/client/libgeary-client-44.1.so.p/conversation-viewer/conversation-message.c
../src/client/conversation-viewer/conversation-message.vala: In function ‘___lambda77_’:
../src/client/conversation-viewer/conversation-message.vala:1490:62: error: passing argument 3 of ‘webkit_web_resource_get_data_finish’ from incompatible pointer type [-Wincompatible-pointer-types]
1490 | uint8[] data = response.get_data.end(res);
| ^~~~~
| |
| gint * {aka int *}
In file included from /usr/include/webkitgtk-4.1/webkit/WebKitWebView.h:54,
from /usr/include/webkitgtk-4.1/webkit/WebKitPrintOperation.h:29,
from /usr/include/webkitgtk-4.1/webkit2/webkit2.h:74,
from src/client/geary-client-44.1.h:21,
from src/client/libgeary-client-44.1.so.p/conversation-viewer/conversation-message.c:12:
/usr/include/webkitgtk-4.1/webkit/WebKitWebResource.h:68:58: note: expected ‘gsize *’ {aka ‘long unsigned int *’} but argument is of type ‘gint *’ {aka ‘int *’}
68 | gsize *length,
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
conversation-message.c: In function ‘_conversation_message_contact_flow_box_child_on_prelight_in_event_gtk_widget_enter_notify_event’:
conversation-message.c:8526:125: error: passing argument 2 of ‘conversation_message_contact_flow_box_child_on_prelight_in_event’ from incompatible pointer type [-Wincompatible-pointer-types]
src/client/libgeary-client-44.1.so.p/conversation-viewer/conversation-message.c:944:86: note: expected ‘GdkEvent *’ {aka ‘union _GdkEvent *’} but argument is of type ‘GdkEventCrossing *’ {aka ‘struct _GdkEventCrossing *’}
944 | GdkEvent* event);
| ~~~~~~~~~~^~~~~
conversation-message.c: In function ‘_conversation_message_contact_flow_box_child_on_prelight_out_event_gtk_widget_leave_notify_event’:
conversation-message.c:8538:126: error: passing argument 2 of ‘conversation_message_contact_flow_box_child_on_prelight_out_event’ from incompatible pointer type [-Wincompatible-pointer-types]
src/client/libgeary-client-44.1.so.p/conversation-viewer/conversation-message.c:949:87: note: expected ‘GdkEvent *’ {aka ‘union _GdkEvent *’} but argument is of type ‘GdkEventCrossing *’ {aka ‘struct _GdkEventCrossing *’}
949 | GdkEvent* event);
| ~~~~~~~~~~^~~~~
[63/194] Compiling C object src/geary.p/meson-generated_client_application_main.c.o
FAILED: src/geary.p/meson-generated_client_application_main.c.o
/usr/bin/gcc -Isrc/geary.p -Isrc -I../src -Isrc/client -I../src/client -Isrc/engine -I../src/engine -Idesktop -Iui -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/gmime-3.0 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/atk-1.0 -I/usr/include/webkitgtk-4.1 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -pthread -D_LARGEFILE64_SOURCE -include config.h -DG_LOG_USE_STRUCTURED -DUNW_LOCAL_ONLY -DGCK_API_SUBJECT_TO_CHANGE -DGCR_API_SUBJECT_TO_CHANGE -DGOA_API_IS_SUBJECT_TO_CHANGE -MD -MQ src/geary.p/meson-generated_client_application_main.c.o -MF src/geary.p/meson-generated_client_application_main.c.o.d -o src/geary.p/meson-generated_client_application_main.c.o -c src/geary.p/client/application/main.c
../src/client/application/main.vala: In function ‘_vala_main’:
../src/client/application/main.vala:11:25: error: passing argument 1 of ‘g_log_set_writer_func’ from incompatible pointer type [-Wincompatible-pointer-types]
11 | GLib.Log.set_writer_func(Geary.Logging.default_log_writer);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| GLogWriterOutput (*)(GLogLevelFlags, GLogField *, gsize, void *) {aka GLogWriterOutput (*)(GLogLevelFlags, struct _GLogField *, long unsigned int, void *)}
In file included from /usr/include/glib-2.0/glib.h:64,
from src/geary.p/client/application/main.c:12:
/usr/include/glib-2.0/glib/gmessages.h:217:66: note: expected ‘GLogWriterFunc’ {aka ‘GLogWriterOutput (*)(GLogLevelFlags, const struct _GLogField *, long unsigned int, void *)’} but argument is of type ‘GLogWriterOutput (*)(GLogLevelFlags, GLogField *, gsize, void *)’ {aka ‘GLogWriterOutput (*)(GLogLevelFlags, struct _GLogField *, long unsigned int, void *)’}
217 | void g_log_set_writer_func (GLogWriterFunc func,
| ~~~~~~~~~~~~~~~~~^~~~
ninja: build stopped: cannot make progress due to previous errors.