Task #89488 - fixed.err
back to task #89488download
Error: COMPILER_WARNING (CWE-252):
avahi-0.9.rc2/avahi-autoipd/main.c: scope_hint: In function ‘init_rand_seed’
avahi-0.9.rc2/avahi-autoipd/main.c:189:9: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’
# 189 | read(fd, &seed, sizeof(seed));
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 187| * booted at the same time choose different random seeds. */
# 188| if ((fd = open(RANDOM_DEVICE, O_RDONLY)) >= 0) {
# 189|-> read(fd, &seed, sizeof(seed));
# 190| close(fd);
# 191| }
Error: COMPILER_WARNING (CWE-252):
avahi-0.9.rc2/avahi-autoipd/main.c: scope_hint: In function ‘drop_privs’
avahi-0.9.rc2/avahi-autoipd/main.c:967:9: warning[-Wunused-result]: ignoring return value of ‘chown’ declared with attribute ‘warn_unused_result’
# 967 | chown(AVAHI_IPDATA_DIR, pw->pw_uid, gr->gr_gid);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 965| struct stat st;
# 966|
# 967|-> chown(AVAHI_IPDATA_DIR, pw->pw_uid, gr->gr_gid);
# 968|
# 969| if (stat(AVAHI_IPDATA_DIR, &st) < 0) {
Error: COMPILER_WARNING (CWE-252):
avahi-0.9.rc2/avahi-autoipd/main.c:989:9: warning[-Wunused-result]: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’
# 989 | chdir("/");
# | ^~~~~~~~~~
# 987|
# 988| daemon_log(LOG_INFO, "Successfully called chroot().");
# 989|-> chdir("/");
# 990|
# 991| /* Since we are now trapped inside a chroot we cannot remove
Error: COMPILER_WARNING (CWE-252):
avahi-0.9.rc2/avahi-autoipd/main.c: scope_hint: In function ‘main’
avahi-0.9.rc2/avahi-autoipd/main.c:1658:9: warning[-Wunused-result]: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’
# 1658 | chdir("/");
# | ^~~~~~~~~~
# 1656| daemon_log_use = DAEMON_LOG_SYSLOG;
# 1657|
# 1658|-> chdir("/");
# 1659|
# 1660| if (daemon_pid_file_create() < 0) {
Error: COMPILER_WARNING (CWE-252):
avahi-0.9.rc2/avahi-common/simple-watch.c: scope_hint: In function 'avahi_simple_poll_wakeup'
avahi-0.9.rc2/avahi-common/simple-watch.c:101:5: warning[-Wunused-result]: ignoring return value of 'write' declared with attribute 'warn_unused_result'
# 101 | write(s->wakeup_pipe[1], &c, sizeof(c));
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 99| assert(s);
# 100|
# 101|-> write(s->wakeup_pipe[1], &c, sizeof(c));
# 102| s->wakeup_issued = 1;
# 103| }
Error: COMPILER_WARNING (CWE-252):
avahi-0.9.rc2/avahi-common/simple-watch.c: scope_hint: In function ‘avahi_simple_poll_wakeup’
avahi-0.9.rc2/avahi-common/simple-watch.c:101:5: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
# 101 | write(s->wakeup_pipe[1], &c, sizeof(c));
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 99| assert(s);
# 100|
# 101|-> write(s->wakeup_pipe[1], &c, sizeof(c));
# 102| s->wakeup_issued = 1;
# 103| }
Error: COMPILER_WARNING (CWE-681):
avahi-0.9.rc2/avahi-compat-howl/samples/browse.c: scope_hint: In function ‘my_resolver’
avahi-0.9.rc2/avahi-compat-howl/samples/browse.c:58:132: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘sw_ipv4_address_name’ differ in signedness
# 58 | fprintf(stderr, "resolve reply: 0x%x %s %s %s %s %d\n", interface_index, name, type, domain, sw_ipv4_address_name(address, name_buf, 16), port);
# | ^~~~~~~~
# | |
# | sw_int8 * {aka signed char *}
avahi-0.9.rc2/avahi-compat-howl/include/corby/orb.h:33: included_from: Included from here.
avahi-0.9.rc2/avahi-compat-howl/include/howl.h:35: included_from: Included from here.
avahi-0.9.rc2/avahi-compat-howl/include/salt/address.h:104:65: note: expected ‘sw_string’ {aka ‘char *’} but argument is of type ‘sw_int8 *’ {aka ‘signed char *’}
# 104 | sw_string name,
# | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
# 56| sw_discovery_cancel(discovery, oid);
# 57|
# 58|-> fprintf(stderr, "resolve reply: 0x%x %s %s %s %s %d\n", interface_index, name, type, domain, sw_ipv4_address_name(address, name_buf, 16), port);
# 59|
# 60| if ((text_record_len > 0) && (text_record) && (*text_record != '\0'))
Error: COMPILER_WARNING (CWE-681):
avahi-0.9.rc2/avahi-compat-howl/samples/browse.c:65:57: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘sw_text_record_iterator_next’ differ in signedness
# 65 | while (sw_text_record_iterator_next(it, key, oval, &oval_len) == SW_OKAY)
# | ^~~
# | |
# | sw_int8 * {aka signed char *}
avahi-0.9.rc2/avahi-compat-howl/include/howl.h:41: included_from: Included from here.
avahi-0.9.rc2/avahi-compat-howl/include/discovery/text_record.h:112:97: note: expected ‘char *’ but argument is of type ‘sw_int8 *’ {aka ‘signed char *’}
# 112 | char key[SW_TEXT_RECORD_MAX_LEN],
# | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 63| sw_check_okay(err, exit);
# 64|
# 65|-> while (sw_text_record_iterator_next(it, key, oval, &oval_len) == SW_OKAY)
# 66| {
# 67| fprintf(stderr, "Txt: [%s]=[%s] - (%d bytes)\n", key, oval, oval_len);
Error: COMPILER_WARNING (CWE-681):
avahi-0.9.rc2/avahi-compat-howl/samples/query.c:59:82: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘sw_ipv4_address_name’ differ in signedness
# 59 | fprintf(stderr, "address is %s\n", sw_ipv4_address_name(address, name, sizeof(name)));
# | ^~~~
# | |
# | sw_int8 * {aka signed char *}
avahi-0.9.rc2/avahi-compat-howl/include/corby/orb.h:33: included_from: Included from here.
avahi-0.9.rc2/avahi-compat-howl/include/howl.h:35: included_from: Included from here.
avahi-0.9.rc2/avahi-compat-howl/include/salt/address.h:104:65: note: expected ‘sw_string’ {aka ‘char *’} but argument is of type ‘sw_int8 *’ {aka ‘signed char *’}
# 104 | sw_string name,
# | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
# 57| sw_ipv4_address_init_from_saddr(&address, *(sw_saddr*) rrdata);
# 58|
# 59|-> fprintf(stderr, "address is %s\n", sw_ipv4_address_name(address, name, sizeof(name)));
# 60| }
# 61|
Error: COMPILER_WARNING (CWE-681):
avahi-0.9.rc2/avahi-compat-howl/samples/resolve.c: scope_hint: In function ‘my_resolver’
avahi-0.9.rc2/avahi-compat-howl/samples/resolve.c:58:132: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘sw_ipv4_address_name’ differ in signedness
# 58 | fprintf(stderr, "resolve reply: 0x%x %s %s %s %s %d\n", interface_index, name, type, domain, sw_ipv4_address_name(address, name_buf, 16), port);
# | ^~~~~~~~
# | |
# | sw_int8 * {aka signed char *}
avahi-0.9.rc2/avahi-compat-howl/include/corby/orb.h:33: included_from: Included from here.
avahi-0.9.rc2/avahi-compat-howl/include/howl.h:35: included_from: Included from here.
avahi-0.9.rc2/avahi-compat-howl/include/salt/address.h:104:65: note: expected ‘sw_string’ {aka ‘char *’} but argument is of type ‘sw_int8 *’ {aka ‘signed char *’}
# 104 | sw_string name,
# | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
# 56| sw_discovery_cancel(discovery, oid);
# 57|
# 58|-> fprintf(stderr, "resolve reply: 0x%x %s %s %s %s %d\n", interface_index, name, type, domain, sw_ipv4_address_name(address, name_buf, 16), port);
# 59|
# 60| if ((text_record_len > 0) && (text_record) && (*text_record != '\0'))
Error: COMPILER_WARNING (CWE-681):
avahi-0.9.rc2/avahi-compat-howl/samples/resolve.c:65:57: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘sw_text_record_iterator_next’ differ in signedness
# 65 | while (sw_text_record_iterator_next(it, key, oval, &oval_len) == SW_OKAY)
# | ^~~
# | |
# | sw_int8 * {aka signed char *}
avahi-0.9.rc2/avahi-compat-howl/include/howl.h:41: included_from: Included from here.
avahi-0.9.rc2/avahi-compat-howl/include/discovery/text_record.h:112:97: note: expected ‘char *’ but argument is of type ‘sw_int8 *’ {aka ‘signed char *’}
# 112 | char key[SW_TEXT_RECORD_MAX_LEN],
# | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 63| sw_check_okay(err, exit);
# 64|
# 65|-> while (sw_text_record_iterator_next(it, key, oval, &oval_len) == SW_OKAY)
# 66| {
# 67| fprintf(stderr, "key = %s, data is %d bytes\n", key, oval_len);
Error: COMPILER_WARNING:
avahi-0.9.rc2/avahi-compat-libdns_sd/compat.c:47: included_from: Included from here.
avahi-0.9.rc2/avahi-compat-libdns_sd/compat.c: scope_hint: In function 'DNSServiceBrowse'
avahi-0.9.rc2/avahi-compat-libdns_sd/warn.h:33:82: warning[-Wpedantic]: ISO C does not support '__FUNCTION__' predefined identifier
# 33 | #define AVAHI_WARN_UNSUPPORTED do { avahi_warn_linkage(); avahi_warn_unsupported(__FUNCTION__); } while(0)
# | ^~~~~~~~~~~~
avahi-0.9.rc2/avahi-compat-libdns_sd/compat.c:622:9: note: in expansion of macro 'AVAHI_WARN_UNSUPPORTED'
# 622 | AVAHI_WARN_UNSUPPORTED;
# | ^~~~~~~~~~~~~~~~~~~~~~
# 31|
# 32| #define AVAHI_WARN_LINKAGE do { avahi_warn_linkage(); } while(0)
# 33|-> #define AVAHI_WARN_UNSUPPORTED do { avahi_warn_linkage(); avahi_warn_unsupported(__FUNCTION__); } while(0)
# 34| #define AVAHI_WARN_UNSUPPORTED_ABORT do { AVAHI_WARN_UNSUPPORTED; abort(); } while(0)
# 35|
Error: COMPILER_WARNING:
avahi-0.9.rc2/avahi-compat-libdns_sd/compat.c:47: included_from: Included from here.
avahi-0.9.rc2/avahi-compat-libdns_sd/compat.c: scope_hint: In function ‘DNSServiceBrowse’
avahi-0.9.rc2/avahi-compat-libdns_sd/warn.h:33:82: warning[-Wpedantic]: ISO C does not support ‘__FUNCTION__’ predefined identifier
# 33 | #define AVAHI_WARN_UNSUPPORTED do { avahi_warn_linkage(); avahi_warn_unsupported(__FUNCTION__); } while(0)
# | ^~~~~~~~~~~~
avahi-0.9.rc2/avahi-compat-libdns_sd/compat.c:622:9: note: in expansion of macro ‘AVAHI_WARN_UNSUPPORTED’
# 622 | AVAHI_WARN_UNSUPPORTED;
# | ^~~~~~~~~~~~~~~~~~~~~~
# 31|
# 32| #define AVAHI_WARN_LINKAGE do { avahi_warn_linkage(); } while(0)
# 33|-> #define AVAHI_WARN_UNSUPPORTED do { avahi_warn_linkage(); avahi_warn_unsupported(__FUNCTION__); } while(0)
# 34| #define AVAHI_WARN_UNSUPPORTED_ABORT do { AVAHI_WARN_UNSUPPORTED; abort(); } while(0)
# 35|
Error: COMPILER_WARNING:
avahi-0.9.rc2/avahi-core/entry.c: scope_hint: In function 'server_add_dns_server_name'
avahi-0.9.rc2/avahi-core/entry.c:931:32: warning[-Wformat-truncation=]: '%s' directive output may be truncated writing up to 1013 bytes into a region of size between 997 and 1001
# 931 | snprintf(t, sizeof(t), "%s.%s", type == AVAHI_DNS_SERVER_RESOLVE ? "_domain._udp" : "_dns-update._udp", normalized_d);
# | ^~ ~~~~~~~~~~~~
/usr/include/bits/stdio2.h:68:10: note: '__snprintf_chk' output between 14 and 1031 bytes into a destination of size 1014
# 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 69 | __glibc_objsize (__s), __fmt,
# | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 70 | __va_arg_pack ());
# | ~~~~~~~~~~~~~~~~~
# 929| AVAHI_ASSERT_TRUE(avahi_normalize_name(domain, normalized_d, sizeof(normalized_d)));
# 930|
# 931|-> snprintf(t, sizeof(t), "%s.%s", type == AVAHI_DNS_SERVER_RESOLVE ? "_domain._udp" : "_dns-update._udp", normalized_d);
# 932|
# 933| if (!(r = avahi_record_new_full(t, AVAHI_DNS_CLASS_IN, AVAHI_DNS_TYPE_SRV, AVAHI_DEFAULT_TTL_HOST_NAME))) {
Error: COMPILER_WARNING:
avahi-0.9.rc2/avahi-core/entry.c: scope_hint: In function 'avahi_server_add_dns_server_address'
avahi-0.9.rc2/avahi-core/entry.c:982:36: warning[-Wformat-truncation=]: '%s' directive output may be truncated writing up to 63 bytes into a region of size 61
# 982 | snprintf(n, sizeof(n), "ip-%s.%s", h, domain);
# | ^~ ~
/usr/include/bits/stdio2.h:68:10: note: '__snprintf_chk' output 5 or more bytes (assuming 68) into a destination of size 64
# 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 69 | __glibc_objsize (__s), __fmt,
# | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 70 | __va_arg_pack ());
# | ~~~~~~~~~~~~~~~~~
# 980| if (address->proto == AVAHI_PROTO_INET) {
# 981| hexstring(h, sizeof(h), &address->data, sizeof(AvahiIPv4Address));
# 982|-> snprintf(n, sizeof(n), "ip-%s.%s", h, domain);
# 983| r = avahi_record_new_full(n, AVAHI_DNS_CLASS_IN, AVAHI_DNS_TYPE_A, AVAHI_DEFAULT_TTL_HOST_NAME);
# 984| r->data.a.address = address->data.ipv4;
Error: COMPILER_WARNING:
avahi-0.9.rc2/avahi-core/entry.c: scope_hint: In function 'avahi_server_add_dns_server_address'
avahi-0.9.rc2/avahi-core/entry.c:987:37: warning[-Wformat-truncation=]: '%s' directive output may be truncated writing up to 63 bytes into a region of size 60
# 987 | snprintf(n, sizeof(n), "ip6-%s.%s", h, domain);
# | ^~ ~
/usr/include/bits/stdio2.h:68:10: note: '__snprintf_chk' output 6 or more bytes (assuming 69) into a destination of size 64
# 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 69 | __glibc_objsize (__s), __fmt,
# | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 70 | __va_arg_pack ());
# | ~~~~~~~~~~~~~~~~~
# 985| } else {
# 986| hexstring(h, sizeof(h), &address->data, sizeof(AvahiIPv6Address));
# 987|-> snprintf(n, sizeof(n), "ip6-%s.%s", h, domain);
# 988| r = avahi_record_new_full(n, AVAHI_DNS_CLASS_IN, AVAHI_DNS_TYPE_AAAA, AVAHI_DEFAULT_TTL_HOST_NAME);
# 989| r->data.aaaa.address = address->data.ipv6;
Error: COMPILER_WARNING:
avahi-0.9.rc2/avahi-core/iface.c: scope_hint: In function 'avahi_hw_interface_update_rrs'
avahi-0.9.rc2/avahi-core/iface.c:143:45: warning[-Wformat-truncation=]: ' [' directive output may be truncated writing 2 bytes into a region of size between 1 and 64
# 143 | snprintf(name, sizeof(name), "%s [%s]", unescaped, mac);
# | ^~
/usr/include/bits/stdio2.h:68:10: note: '__snprintf_chk' output between 4 and 322 bytes into a destination of size 64
# 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 69 | __glibc_objsize (__s), __fmt,
# | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 70 | __va_arg_pack ());
# | ~~~~~~~~~~~~~~~~~
# 141| avahi_unescape_label(&p, unescaped, sizeof(unescaped));
# 142| avahi_format_mac_address(mac, sizeof(mac), hw->mac_address, hw->mac_address_size);
# 143|-> snprintf(name, sizeof(name), "%s [%s]", unescaped, mac);
# 144|
# 145| if (avahi_server_add_service(m->server, hw->entry_group, hw->index, AVAHI_PROTO_UNSPEC, 0, name, "_workstation._tcp", NULL, NULL, 9, NULL) < 0) {
Error: COMPILER_WARNING (CWE-252):
avahi-0.9.rc2/avahi-daemon/main.c: scope_hint: In function ‘run_server’
avahi-0.9.rc2/avahi-daemon/main.c:1219:9: warning[-Wunused-result]: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’
# 1219 | chdir("/");
# | ^~~~~~~~~~
# 1217|
# 1218| avahi_log_info("Successfully called chroot().");
# 1219|-> chdir("/");
# 1220|
# 1221| if (avahi_caps_drop_all() < 0) {
Error: COMPILER_WARNING (CWE-252):
avahi-0.9.rc2/avahi-daemon/main.c: scope_hint: In function ‘make_runtime_dir’
avahi-0.9.rc2/avahi-daemon/main.c:1445:5: warning[-Wunused-result]: ignoring return value of ‘chown’ declared with attribute ‘warn_unused_result’
# 1445 | chown(AVAHI_DAEMON_RUNTIME_DIR, pw->pw_uid, gr->gr_gid);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1443| }
# 1444|
# 1445|-> chown(AVAHI_DAEMON_RUNTIME_DIR, pw->pw_uid, gr->gr_gid);
# 1446|
# 1447| if (stat(AVAHI_DAEMON_RUNTIME_DIR, &st) < 0) {
Error: COMPILER_WARNING (CWE-252):
avahi-0.9.rc2/avahi-daemon/main.c: scope_hint: In function ‘init_rand_seed’
avahi-0.9.rc2/avahi-daemon/main.c:1510:9: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’
# 1510 | read(fd, &seed, sizeof(seed));
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1508| * booted at the same time choose different random seeds. */
# 1509| if ((fd = open(RANDOM_DEVICE, O_RDONLY)) >= 0) {
# 1510|-> read(fd, &seed, sizeof(seed));
# 1511| close(fd);
# 1512| }
Error: COMPILER_WARNING (CWE-252):
avahi-0.9.rc2/avahi-daemon/main.c: scope_hint: In function ‘main’
avahi-0.9.rc2/avahi-daemon/main.c:1693:9: warning[-Wunused-result]: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’
# 1693 | chdir("/");
# | ^~~~~~~~~~
# 1691| enforce_rlimits();
# 1692|
# 1693|-> chdir("/");
# 1694|
# 1695| #ifdef ENABLE_CHROOT
Error: COMPILER_WARNING (CWE-252):
avahi-0.9.rc2/avahi-dnsconfd/main.c: scope_hint: In function ‘main’
avahi-0.9.rc2/avahi-dnsconfd/main.c:618:9: warning[-Wunused-result]: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’
# 618 | chdir("/");
# | ^~~~~~~~~~
# 616| daemon_log_use = DAEMON_LOG_SYSLOG;
# 617|
# 618|-> chdir("/");
# 619|
# 620| if (daemon_pid_file_create() < 0) {
Error: COMPILER_WARNING (CWE-477):
avahi-0.9.rc2/avahi-glib/glib-watch.c: scope_hint: In function 'prepare_func'
avahi-0.9.rc2/avahi-glib/glib-watch.c:269:9: warning[-Wdeprecated-declarations]: 'GTimeVal' is deprecated: Use 'GDateTime' instead
# 269 | GTimeVal now;
# | ^~~~~~~~
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
avahi-0.9.rc2/avahi-glib/glib-watch.h:28: included_from: Included from here.
avahi-0.9.rc2/avahi-glib/glib-watch.c:28: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:622:8: note: declared here
# 622 | struct _GTimeVal
# | ^~~~~~~~~
# 267|
# 268| if ((next_timeout = find_next_timeout(g))) {
# 269|-> GTimeVal now;
# 270| struct timeval tvnow;
# 271| AvahiUsec usec;
Error: COMPILER_WARNING (CWE-477):
avahi-0.9.rc2/avahi-glib/glib-watch.c: scope_hint: In function ‘prepare_func’
avahi-0.9.rc2/avahi-glib/glib-watch.c:269:9: warning[-Wdeprecated-declarations]: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
avahi-0.9.rc2/avahi-glib/glib-watch.h:28: included_from: Included from here.
avahi-0.9.rc2/avahi-glib/glib-watch.c:28: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:622:8: note: declared here
# 267|
# 268| if ((next_timeout = find_next_timeout(g))) {
# 269|-> GTimeVal now;
# 270| struct timeval tvnow;
# 271| AvahiUsec usec;
Error: COMPILER_WARNING (CWE-477):
avahi-0.9.rc2/avahi-glib/glib-watch.c:273:9: warning[-Wdeprecated-declarations]: 'g_source_get_current_time' is deprecated: Use 'g_source_get_time' instead
# 273 | g_source_get_current_time(source, &now);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/giochannel.h:35: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
/usr/include/glib-2.0/glib/gmain.h:802:10: note: declared here
# 802 | void g_source_get_current_time (GSource *source,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~
# 271| AvahiUsec usec;
# 272|
# 273|-> g_source_get_current_time(source, &now);
# 274| tvnow.tv_sec = now.tv_sec;
# 275| tvnow.tv_usec = now.tv_usec;
Error: COMPILER_WARNING (CWE-477):
avahi-0.9.rc2/avahi-glib/glib-watch.c:273:9: warning[-Wdeprecated-declarations]: ‘g_source_get_current_time’ is deprecated: Use 'g_source_get_time' instead
/usr/include/glib-2.0/glib/giochannel.h:35: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
/usr/include/glib-2.0/glib/gmain.h:802:10: note: declared here
# 271| AvahiUsec usec;
# 272|
# 273|-> g_source_get_current_time(source, &now);
# 274| tvnow.tv_sec = now.tv_sec;
# 275| tvnow.tv_usec = now.tv_usec;
Error: COMPILER_WARNING (CWE-477):
avahi-0.9.rc2/avahi-glib/glib-watch.c: scope_hint: In function 'check_func'
avahi-0.9.rc2/avahi-glib/glib-watch.c:299:9: warning[-Wdeprecated-declarations]: 'GTimeVal' is deprecated: Use 'GDateTime' instead
# 299 | GTimeVal now;
# | ^~~~~~~~
/usr/include/glib-2.0/glib/gtypes.h:622:8: note: declared here
# 622 | struct _GTimeVal
# | ^~~~~~~~~
# 297|
# 298| if ((next_timeout = find_next_timeout(g))) {
# 299|-> GTimeVal now;
# 300| struct timeval tvnow;
# 301| g_source_get_current_time(source, &now);
Error: COMPILER_WARNING (CWE-477):
avahi-0.9.rc2/avahi-glib/glib-watch.c: scope_hint: In function ‘check_func’
avahi-0.9.rc2/avahi-glib/glib-watch.c:299:9: warning[-Wdeprecated-declarations]: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead
/usr/include/glib-2.0/glib/gtypes.h:622:8: note: declared here
# 297|
# 298| if ((next_timeout = find_next_timeout(g))) {
# 299|-> GTimeVal now;
# 300| struct timeval tvnow;
# 301| g_source_get_current_time(source, &now);
Error: COMPILER_WARNING (CWE-477):
avahi-0.9.rc2/avahi-glib/glib-watch.c:301:9: warning[-Wdeprecated-declarations]: 'g_source_get_current_time' is deprecated: Use 'g_source_get_time' instead
# 301 | g_source_get_current_time(source, &now);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmain.h:802:10: note: declared here
# 802 | void g_source_get_current_time (GSource *source,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~
# 299| GTimeVal now;
# 300| struct timeval tvnow;
# 301|-> g_source_get_current_time(source, &now);
# 302| tvnow.tv_sec = now.tv_sec;
# 303| tvnow.tv_usec = now.tv_usec;
Error: COMPILER_WARNING (CWE-477):
avahi-0.9.rc2/avahi-glib/glib-watch.c:301:9: warning[-Wdeprecated-declarations]: ‘g_source_get_current_time’ is deprecated: Use 'g_source_get_time' instead
/usr/include/glib-2.0/glib/gmain.h:802:10: note: declared here
# 299| GTimeVal now;
# 300| struct timeval tvnow;
# 301|-> g_source_get_current_time(source, &now);
# 302| tvnow.tv_sec = now.tv_sec;
# 303| tvnow.tv_usec = now.tv_usec;
Error: COMPILER_WARNING (CWE-477):
avahi-0.9.rc2/avahi-glib/glib-watch.c: scope_hint: In function 'dispatch_func'
avahi-0.9.rc2/avahi-glib/glib-watch.c:324:9: warning[-Wdeprecated-declarations]: 'GTimeVal' is deprecated: Use 'GDateTime' instead
# 324 | GTimeVal now;
# | ^~~~~~~~
/usr/include/glib-2.0/glib/gtypes.h:622:8: note: declared here
# 622 | struct _GTimeVal
# | ^~~~~~~~~
# 322|
# 323| if ((next_timeout = find_next_timeout(g))) {
# 324|-> GTimeVal now;
# 325| struct timeval tvnow;
# 326| g_source_get_current_time(source, &now);
Error: COMPILER_WARNING (CWE-477):
avahi-0.9.rc2/avahi-glib/glib-watch.c: scope_hint: In function ‘dispatch_func’
avahi-0.9.rc2/avahi-glib/glib-watch.c:324:9: warning[-Wdeprecated-declarations]: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead
/usr/include/glib-2.0/glib/gtypes.h:622:8: note: declared here
# 322|
# 323| if ((next_timeout = find_next_timeout(g))) {
# 324|-> GTimeVal now;
# 325| struct timeval tvnow;
# 326| g_source_get_current_time(source, &now);
Error: COMPILER_WARNING (CWE-477):
avahi-0.9.rc2/avahi-glib/glib-watch.c:326:9: warning[-Wdeprecated-declarations]: 'g_source_get_current_time' is deprecated: Use 'g_source_get_time' instead
# 326 | g_source_get_current_time(source, &now);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmain.h:802:10: note: declared here
# 802 | void g_source_get_current_time (GSource *source,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~
# 324| GTimeVal now;
# 325| struct timeval tvnow;
# 326|-> g_source_get_current_time(source, &now);
# 327| tvnow.tv_sec = now.tv_sec;
# 328| tvnow.tv_usec = now.tv_usec;
Error: COMPILER_WARNING (CWE-477):
avahi-0.9.rc2/avahi-glib/glib-watch.c:326:9: warning[-Wdeprecated-declarations]: ‘g_source_get_current_time’ is deprecated: Use 'g_source_get_time' instead
/usr/include/glib-2.0/glib/gmain.h:802:10: note: declared here
# 324| GTimeVal now;
# 325| struct timeval tvnow;
# 326|-> g_source_get_current_time(source, &now);
# 327| tvnow.tv_sec = now.tv_sec;
# 328| tvnow.tv_usec = now.tv_usec;
Error: COMPILER_WARNING:
avahi-0.9.rc2/avahi-gobject/ga-client.c: scope_hint: In function 'ga_client_get_property'
avahi-0.9.rc2/avahi-gobject/ga-client.c:105:13: warning[-Wimplicit-fallthrough=]: this statement may fall through
# 105 | g_value_set_enum(value, priv->flags);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
avahi-0.9.rc2/avahi-gobject/ga-client.c:106:9: note: here
# 106 | default:
# | ^~~~~~~
# 103| break;
# 104| case PROP_FLAGS:
# 105|-> g_value_set_enum(value, priv->flags);
# 106| default:
# 107| G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, pspec);
Error: COMPILER_WARNING (CWE-477):
avahi-0.9.rc2/avahi-gobject/ga-client.c: scope_hint: In function 'ga_client_class_init'
avahi-0.9.rc2/avahi-gobject/ga-client.c:116:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
# 116 | g_type_class_add_private(ga_client_class, sizeof (GaClientPrivate));
# | ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1503:10: note: declared here
# 1503 | void g_type_class_add_private (gpointer g_class,
# | ^~~~~~~~~~~~~~~~~~~~~~~~
# 114| GParamSpec *param_spec;
# 115|
# 116|-> g_type_class_add_private(ga_client_class, sizeof (GaClientPrivate));
# 117|
# 118|
Error: COMPILER_WARNING (CWE-192):
avahi-0.9.rc2/avahi-gobject/ga-client.c:226:17: warning[-Wenum-conversion]: implicit conversion from 'AvahiClientState' to 'GaClientState'
# 226 | priv->state = state;
# | ^
# 224|
# 225| g_assert(c == self->avahi_client);
# 226|-> priv->state = state;
# 227| g_signal_emit(self, signals[STATE_CHANGED],
# 228| detail_for_state(state), state);
Error: COMPILER_WARNING (CWE-192):
avahi-0.9.rc2/avahi-gobject/ga-client.c:248:36: warning[-Wenum-conversion]: implicit conversion from 'GaClientFlags' to 'AvahiClientFlags'
# 248 | priv->flags,
# | ~~~~^~~~~~~
# 246|
# 247| aclient = avahi_client_new(avahi_glib_poll_get(priv->poll),
# 248|-> priv->flags,
# 249| _avahi_client_cb, client, &aerror);
# 250| if (aclient == NULL) {
Error: COMPILER_WARNING (CWE-477):
avahi-0.9.rc2/avahi-gobject/ga-entry-group.c: scope_hint: In function 'ga_entry_group_class_init'
avahi-0.9.rc2/avahi-gobject/ga-entry-group.c:115:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1503:10: note: declared here
# 113| GParamSpec *param_spec;
# 114|
# 115|-> g_type_class_add_private(ga_entry_group_class,
# 116| sizeof (GaEntryGroupPrivate));
# 117|
Error: COMPILER_WARNING (CWE-192):
avahi-0.9.rc2/avahi-gobject/ga-entry-group.c:222:17: warning[-Wenum-conversion]: implicit conversion from 'AvahiEntryGroupState' to 'GaEntryGroupState'
# 222 | priv->state = state;
# | ^
# 220|
# 221| g_assert(g == priv->group);
# 222|-> priv->state = state;
# 223| g_signal_emit(self, signals[STATE_CHANGED],
# 224| detail_for_state(state), state);
Error: COMPILER_WARNING (CWE-477):
avahi-0.9.rc2/avahi-gobject/ga-record-browser.c: scope_hint: In function 'ga_record_browser_class_init'
avahi-0.9.rc2/avahi-gobject/ga-record-browser.c:150:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
# 150 | g_type_class_add_private(ga_record_browser_class,
# | ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1503:10: note: declared here
# 1503 | void g_type_class_add_private (gpointer g_class,
# | ^~~~~~~~~~~~~~~~~~~~~~~~
# 148| GParamSpec *param_spec;
# 149|
# 150|-> g_type_class_add_private(ga_record_browser_class,
# 151| sizeof (GaRecordBrowserPrivate));
# 152|
Error: COMPILER_WARNING (CWE-477):
avahi-0.9.rc2/avahi-gobject/ga-service-browser.c: scope_hint: In function 'ga_service_browser_class_init'
avahi-0.9.rc2/avahi-gobject/ga-service-browser.c:152:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1503:10: note: declared here
# 150| GParamSpec *param_spec;
# 151|
# 152|-> g_type_class_add_private(ga_service_browser_class,
# 153| sizeof (GaServiceBrowserPrivate));
# 154|
Error: COMPILER_WARNING (CWE-477):
avahi-0.9.rc2/avahi-gobject/ga-service-resolver.c: scope_hint: In function 'ga_service_resolver_class_init'
avahi-0.9.rc2/avahi-gobject/ga-service-resolver.c:171:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
# 171 | g_type_class_add_private(ga_service_resolver_class,
# | ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1503:10: note: declared here
# 1503 | void g_type_class_add_private (gpointer g_class,
# | ^~~~~~~~~~~~~~~~~~~~~~~~
# 169| GParamSpec *param_spec;
# 170|
# 171|-> g_type_class_add_private(ga_service_resolver_class,
# 172| sizeof (GaServiceResolverPrivate));
# 173|
Error: COMPILER_WARNING:
avahi-0.9.rc2/avahi-gobject/signals-marshal.c: scope_hint: In function '_ga_signals_marshal_VOID__INT_ENUM_STRING_STRING_STRING_STRING_POINTER_INT_POINTER_INT'
avahi-0.9.rc2/avahi-gobject/signals-marshal.c:88:14: warning[-Wpedantic]: ISO C forbids conversion of object pointer to function pointer type
# 88 | callback = (GMarshalFunc_VOID__INT_ENUM_STRING_STRING_STRING_STRING_POINTER_INT_POINTER_INT) (marshal_data ? marshal_data : cc->callback);
# | ^
# 86| data2 = closure->data;
# 87| }
# 88|-> callback = (GMarshalFunc_VOID__INT_ENUM_STRING_STRING_STRING_STRING_POINTER_INT_POINTER_INT) (marshal_data ? marshal_data : cc->callback);
# 89|
# 90| callback (data1,
Error: COMPILER_WARNING:
avahi-0.9.rc2/avahi-gobject/signals-marshal.c: scope_hint: In function '_ga_signals_marshal_VOID__INT_ENUM_STRING_STRING_STRING_UINT'
avahi-0.9.rc2/avahi-gobject/signals-marshal.c:137:14: warning[-Wpedantic]: ISO C forbids conversion of object pointer to function pointer type
# 137 | callback = (GMarshalFunc_VOID__INT_ENUM_STRING_STRING_STRING_UINT) (marshal_data ? marshal_data : cc->callback);
# | ^
# 135| data2 = closure->data;
# 136| }
# 137|-> callback = (GMarshalFunc_VOID__INT_ENUM_STRING_STRING_STRING_UINT) (marshal_data ? marshal_data : cc->callback);
# 138|
# 139| callback (data1,
Error: COMPILER_WARNING:
avahi-0.9.rc2/avahi-gobject/signals-marshal.c: scope_hint: In function '_ga_signals_marshal_VOID__INT_ENUM_STRING_UINT_UINT_POINTER_INT_INT'
avahi-0.9.rc2/avahi-gobject/signals-marshal.c:184:14: warning[-Wpedantic]: ISO C forbids conversion of object pointer to function pointer type
# 184 | callback = (GMarshalFunc_VOID__INT_ENUM_STRING_UINT_UINT_POINTER_INT_INT) (marshal_data ? marshal_data : cc->callback);
# | ^
# 182| data2 = closure->data;
# 183| }
# 184|-> callback = (GMarshalFunc_VOID__INT_ENUM_STRING_UINT_UINT_POINTER_INT_INT) (marshal_data ? marshal_data : cc->callback);
# 185|
# 186| callback (data1,
Error: COMPILER_WARNING (CWE-477):
avahi-0.9.rc2/avahi-ui/avahi-ui.c: scope_hint: In function 'get_default_response'
avahi-0.9.rc2/avahi-ui/avahi-ui.c:140:9: warning[-Wdeprecated-declarations]: 'gtk_dialog_get_action_area' is deprecated
# 140 | t = children = gtk_container_get_children(GTK_CONTAINER(gtk_dialog_get_action_area(dlg)));
# | ^
/usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30: included_from: Included from here.
/usr/include/gtk-3.0/gtk/gtk.h:31: included_from: Included from here.
avahi-0.9.rc2/avahi-ui/avahi-ui.c:30: included_from: Included from here.
/usr/include/gtk-3.0/gtk/gtkdialog.h:203:13: note: declared here
# 203 | GtkWidget * gtk_dialog_get_action_area (GtkDialog *dialog);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~
# 138| gint bad = GTK_RESPONSE_NONE;
# 139|
# 140|-> t = children = gtk_container_get_children(GTK_CONTAINER(gtk_dialog_get_action_area(dlg)));
# 141|
# 142| while (t) {
Error: COMPILER_WARNING:
avahi-0.9.rc2/avahi-ui/avahi-ui.c: scope_hint: In function 'browse_callback'
avahi-0.9.rc2/avahi-ui/avahi-ui.c:522:13: warning[-Wimplicit-fallthrough=]: this statement may fall through
# 522 | gtk_widget_destroy(m);
# | ^~~~~~~~~~~~~~~~~~~~~
avahi-0.9.rc2/avahi-ui/avahi-ui.c:527:9: note: here
# 527 | case AVAHI_BROWSER_ALL_FOR_NOW:
# | ^~~~
# 520| avahi_strerror(avahi_client_errno(d->priv->client)));
# 521| gtk_dialog_run(GTK_DIALOG(m));
# 522|-> gtk_widget_destroy(m);
# 523|
# 524| /* Fall through */
Error: COMPILER_WARNING:
avahi-0.9.rc2/avahi-ui/avahi-ui.c: scope_hint: In function 'domain_browse_callback'
avahi-0.9.rc2/avahi-ui/avahi-ui.c:652:13: warning[-Wimplicit-fallthrough=]: this statement may fall through
# 652 | gtk_widget_destroy(m);
# | ^~~~~~~~~~~~~~~~~~~~~
avahi-0.9.rc2/avahi-ui/avahi-ui.c:657:9: note: here
# 657 | case AVAHI_BROWSER_ALL_FOR_NOW:
# | ^~~~
# 650| avahi_strerror(avahi_client_errno(d->priv->client)));
# 651| gtk_dialog_run(GTK_DIALOG(m));
# 652|-> gtk_widget_destroy(m);
# 653|
# 654| /* Fall through */
Error: COMPILER_WARNING (CWE-477):
avahi-0.9.rc2/avahi-ui/avahi-ui.c: scope_hint: In function 'response_callback'
avahi-0.9.rc2/avahi-ui/avahi-ui.c:891:9: warning[-Wdeprecated-declarations]: 'gdk_cursor_new' is deprecated: Use 'gdk_cursor_new_for_display' instead
# 891 | cursor = gdk_cursor_new(GDK_WATCH);
# | ^~~~~~
/usr/include/gtk-3.0/gdk/gdk.h:34: included_from: Included from here.
/usr/include/gtk-3.0/gtk/gtk.h:30: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdkcursor.h:228:12: note: declared here
# 228 | GdkCursor* gdk_cursor_new (GdkCursorType cursor_type);
# | ^~~~~~~~~~~~~~
# 889|
# 890| gtk_widget_set_sensitive(GTK_WIDGET(dialog), FALSE);
# 891|-> cursor = gdk_cursor_new(GDK_WATCH);
# 892| gdk_window_set_cursor(gtk_widget_get_window(GTK_WIDGET(dialog)), cursor);
# 893| #if GTK_CHECK_VERSION(3,0,0)
Error: COMPILER_WARNING (CWE-477):
avahi-0.9.rc2/avahi-ui/avahi-ui.c: scope_hint: In function 'aui_service_dialog_init'
avahi-0.9.rc2/avahi-ui/avahi-ui.c:1136:5: warning[-Wdeprecated-declarations]: 'gtk_misc_set_alignment' is deprecated
# 1136 | gtk_misc_set_alignment(GTK_MISC(p->domain_label), 0, 0.5);
# | ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/gtklabel.h:32: included_from: Included from here.
/usr/include/gtk-3.0/gtk/gtkaccellabel.h:35: included_from: Included from here.
/usr/include/gtk-3.0/gtk/gtk.h:33: included_from: Included from here.
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here
# 72 | void gtk_misc_set_alignment (GtkMisc *misc,
# | ^~~~~~~~~~~~~~~~~~~~~~
# 1134| p->domain_label = gtk_label_new(_("Initializing..."));
# 1135| gtk_label_set_ellipsize(GTK_LABEL(p->domain_label), TRUE);
# 1136|-> gtk_misc_set_alignment(GTK_MISC(p->domain_label), 0, 0.5);
# 1137| gtk_box_pack_start(GTK_BOX(vbox), p->domain_label, FALSE, FALSE, 0);
# 1138|
Error: COMPILER_WARNING (CWE-477):
avahi-0.9.rc2/avahi-ui/avahi-ui.c:1187:5: warning[-Wdeprecated-declarations]: 'gtk_dialog_get_action_area' is deprecated
# 1187 | gtk_box_pack_start(GTK_BOX(gtk_dialog_get_action_area(GTK_DIALOG(d))), p->domain_button, FALSE, TRUE, 0);
# | ^~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/gtkdialog.h:203:13: note: declared here
# 203 | GtkWidget * gtk_dialog_get_action_area (GtkDialog *dialog);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~
# 1185| gtk_button_set_image(GTK_BUTTON(p->domain_button), gtk_image_new_from_icon_name("network-workgroup", GTK_ICON_SIZE_BUTTON));
# 1186| g_signal_connect(p->domain_button, "clicked", G_CALLBACK(domain_button_clicked), d);
# 1187|-> gtk_box_pack_start(GTK_BOX(gtk_dialog_get_action_area(GTK_DIALOG(d))), p->domain_button, FALSE, TRUE, 0);
# 1188| gtk_button_box_set_child_secondary(GTK_BUTTON_BOX(gtk_dialog_get_action_area(GTK_DIALOG(d))), p->domain_button, TRUE);
# 1189| gtk_widget_show(p->domain_button);
Error: COMPILER_WARNING (CWE-477):
avahi-0.9.rc2/avahi-ui/avahi-ui.c:1188:5: warning[-Wdeprecated-declarations]: 'gtk_dialog_get_action_area' is deprecated
# 1188 | gtk_button_box_set_child_secondary(GTK_BUTTON_BOX(gtk_dialog_get_action_area(GTK_DIALOG(d))), p->domain_button, TRUE);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/gtkdialog.h:203:13: note: declared here
# 203 | GtkWidget * gtk_dialog_get_action_area (GtkDialog *dialog);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~
# 1186| g_signal_connect(p->domain_button, "clicked", G_CALLBACK(domain_button_clicked), d);
# 1187| gtk_box_pack_start(GTK_BOX(gtk_dialog_get_action_area(GTK_DIALOG(d))), p->domain_button, FALSE, TRUE, 0);
# 1188|-> gtk_button_box_set_child_secondary(GTK_BUTTON_BOX(gtk_dialog_get_action_area(GTK_DIALOG(d))), p->domain_button, TRUE);
# 1189| gtk_widget_show(p->domain_button);
# 1190|
Error: COMPILER_WARNING (CWE-252):
avahi-0.9.rc2/avahi-utils/sigint.c: scope_hint: In function ‘handler’
avahi-0.9.rc2/avahi-utils/sigint.c:55:5: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
# 55 | write(pipe_fds[1], &s, sizeof(s));
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 53|
# 54| static void handler(int s) {
# 55|-> write(pipe_fds[1], &s, sizeof(s));
# 56| }
# 57|