=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for ctrlproxy-3.0.8nb15 In file included from src/gnutls.c:21:0: /tmp/chat/ctrlproxy/work/.buildlink/include/gnutls/gnutls.h:539:2: error: C++ style comments are not allowed in ISO C90 // Here for compatibility reasons ^ /tmp/chat/ctrlproxy/work/.buildlink/include/gnutls/gnutls.h:539:2: error: (this will be reported only once per input file) In file included from src/tlscert.c:28:0: /tmp/chat/ctrlproxy/work/.buildlink/include/gnutls/gnutls.h:539:2: error: C++ style comments are not allowed in ISO C90 // Here for compatibility reasons ^ /tmp/chat/ctrlproxy/work/.buildlink/include/gnutls/gnutls.h:539:2: error: (this will be reported only once per input file) In file included from src/tlscert.c:28:0: /tmp/chat/ctrlproxy/work/.buildlink/include/gnutls/gnutls.h:539:2: error: C++ style comments are not allowed in ISO C90 // Here for compatibility reasons ^ /tmp/chat/ctrlproxy/work/.buildlink/include/gnutls/gnutls.h:539:2: error: (this will be reported only once per input file) In file included from src/gnutls.c:21:0: /tmp/chat/ctrlproxy/work/.buildlink/include/gnutls/gnutls.h:539:2: error: C++ style comments are not allowed in ISO C90 // Here for compatibility reasons ^ /tmp/chat/ctrlproxy/work/.buildlink/include/gnutls/gnutls.h:539:2: error: (this will be reported only once per input file) Compiling src/main.c Compiling src/cache.c Compiling src/posix.c Compiling src/util.c src/cache.c: In function 'client_try_cache': src/cache.c:211:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (!g_strcasecmp(l->args[0], cache_commands[i].name)) ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/cache.c:24: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ Compiling src/hooks.c Compiling src/linestack.c Compiling src/plugins.c Compiling src/settings.c src/hooks.c: In function 'del_filter_ex': src/hooks.c:64:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (!g_strcasecmp(d->name, name)) ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/hooks.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/linestack.c: In function 'register_linestack': src/linestack.c:32:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] linestack_backends = g_slist_append(linestack_backends, g_memdup(b, sizeof(*b))); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/linestack.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here gpointer g_memdup (gconstpointer mem, ^~~~~~~~ src/linestack.c: In function 'linestack_insert_line': src/linestack.c:214:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] g_strcasecmp(l->args[0], "PRIVMSG") && ^~~~~~~~~~~~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/linestack.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/linestack.c:215:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] g_strcasecmp(l->args[0], "NOTICE")) return TRUE; ^~~~~~~~~~~~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/linestack.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/linestack.c:218:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if ((!g_strcasecmp(l->args[0], "PRIVMSG") || ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/linestack.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/linestack.c:219:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] !g_strcasecmp(l->args[0], "NOTICE")) && ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/linestack.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/linestack.c:221:3: warning: 'g_strncasecmp' is deprecated [-Wdeprecated-declarations] g_strncasecmp(l->args[2], "\001ACTION", 7) != 0) ^~~~~~~~~~~~~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/linestack.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:204:23: note: declared here gint g_strncasecmp (const gchar *s1, ^~~~~~~~~~~~~ src/linestack.c:225:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (!g_strcasecmp(linestack_messages[i], l->args[0])) ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/linestack.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/linestack.c: In function 'send_line_timed': src/linestack.c:253:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if ((!g_strcasecmp(l->args[0], "PRIVMSG") || ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/linestack.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/linestack.c:254:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] !g_strcasecmp(l->args[0], "NOTICE")) && ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/linestack.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/linestack.c: In function 'send_line_timed_dataonly': src/linestack.c:272:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (g_strcasecmp(l->args[0], "PRIVMSG") != 0 && ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/linestack.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/linestack.c:273:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] g_strcasecmp(l->args[0], "NOTICE") != 0) ^~~~~~~~~~~~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/linestack.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/linestack.c: In function 'send_line_dataonly': src/linestack.c:289:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (g_strcasecmp(l->args[0], "PRIVMSG") != 0 && ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/linestack.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/linestack.c:290:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] g_strcasecmp(l->args[0], "NOTICE") != 0) ^~~~~~~~~~~~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/linestack.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/settings.c: In function 'find_create_network_config': src/settings.c:726:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (g_strcasecmp(nc->name, name) == 0) ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/settings.c:21: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/settings.c:736:4: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (g_strcasecmp(sc->host, name) == 0) ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/settings.c:21: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/settings.c:739:4: warning: 'g_strncasecmp' is deprecated [-Wdeprecated-declarations] if (g_strncasecmp(sc->host, name, strlen(sc->host)) != 0) ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/settings.c:21: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:204:23: note: declared here gint g_strncasecmp (const gchar *s1, ^~~~~~~~~~~~~ src/settings.c:744:4: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (g_strcasecmp(tmp, name) == 0) ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/settings.c:21: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/settings.c: In function 'config_find_network': src/settings.c:931:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (!g_strcasecmp(nc->name, name)) ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/settings.c:21: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/settings.c: In function 'config_load_networks': src/settings.c:976:25: warning: variable 'n' set but not used [-Wunused-but-set-variable] struct network_config *n; ^ src/settings.c: In function 'load_configuration': src/settings.c:1271:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (!g_strcasecmp(setting, "never") || !g_strcasecmp(setting, "false")) ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/settings.c:21: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/settings.c:1271:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (!g_strcasecmp(setting, "never") || !g_strcasecmp(setting, "false")) ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/settings.c:21: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/settings.c:1273:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] else if (!g_strcasecmp(setting, "always")) ^~~~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/settings.c:21: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/settings.c:1275:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] else if (!g_strcasecmp(setting, "replication") || ^~~~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/settings.c:21: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/settings.c:1276:7: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] !g_strcasecmp(setting, "true")) ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/settings.c:21: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/settings.c:1359:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (g_key_file_has_key(kf, "admin", "log", NULL) && !g_key_file_get_boolean(kf, "admin", "log", NULL)) ^~ src/settings.c:1361:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' g_key_file_remove_key(kf, "admin", "log", NULL); ^~~~~~~~~~~~~~~~~~~~~ src/settings.c:1362:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (g_key_file_has_key(kf, "global", "admin-log", NULL) && !g_key_file_get_boolean(kf, "global", "admin-log", NULL)) ^~ src/settings.c:1365:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for (gl = cfg->networks; gl; gl = gl->next) { ^~~ Compiling src/log.c Compiling src/client.c Compiling src/redirect.c src/client.c: In function 'handle_offline_command': src/client.c:41:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (!g_strcasecmp(l->args[0], "PRIVMSG") || !g_strcasecmp(l->args[0], "NOTICE")) { ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/client.c:30: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/client.c:41:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (!g_strcasecmp(l->args[0], "PRIVMSG") || !g_strcasecmp(l->args[0], "NOTICE")) { ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/client.c:30: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/client.c:43:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "JOIN")) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/client.c:30: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/client.c:46:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "PART")) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/client.c:30: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/client.c: In function 'process_from_client': src/client.c:81:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (!g_strcasecmp(l->args[0], "QUIT")) { ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/client.c:30: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/client.c:85:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "PING")) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/client.c:30: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/client.c:87:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "PONG")) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/client.c:30: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/client.c:95:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "USER") || ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/client.c:30: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/client.c:96:6: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] !g_strcasecmp(l->args[0], "PASS")) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/client.c:30: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/client.c:99:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "CTRLPROXY")) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/client.c:30: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/client.c:102:7: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] !g_strcasecmp(l->args[0], "PRIVMSG") && ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/client.c:30: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/client.c:103:7: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] !g_strcasecmp(l->args[1], c->network->global->config->admin_user)) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/client.c:30: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/client.c:105:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "PRIVMSG") && l->argc > 2 && ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/client.c:30: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/client.c:107:4: warning: 'g_strncasecmp' is deprecated [-Wdeprecated-declarations] g_strncasecmp(l->args[2], "\001ACTION", 7) != 0) { ^~~~~~~~~~~~~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/client.c:30: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:204:23: note: declared here gint g_strncasecmp (const gchar *s1, ^~~~~~~~~~~~~ src/client.c:112:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "NOTICE") && l->argc > 2 && ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/client.c:30: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/client.c:115:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "")) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/client.c:30: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/client.c: In function 'welcome_client': src/client.c:197:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (g_strcasecmp(client->state->me.nick, client->network->external_state->me.nick) != 0) { ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/client.c:30: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/redirect.c: In function 'find_query': src/redirect.c:577:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (!g_strcasecmp(queries[i].name, name)) return &queries[i]; ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/redirect.c:21: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ Compiling src/gen_config.c Compiling src/repl.c Compiling src/linestack_file.c Compiling src/ctcp_redirect.c src/repl.c: In function 'register_replication_backend': src/repl.c:28:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] backends = g_list_append(backends, g_memdup(backend, sizeof(*backend))); ^~~~~~~~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/repl.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here gpointer g_memdup (gconstpointer mem, ^~~~~~~~ src/linestack_file.c: In function 'file_insert_line': src/linestack_file.c:624:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'gint64 {aka long int}' [-Wformat=] char *state_id = g_strdup_printf("%lu-%lld", time(NULL), ~~~^ %ld g_io_channel_tell_position(nd->line_file)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/ctcp.c Compiling src/motd.c Compiling src/nickserv.c src/ctcp.c: In function 'ctcp_register_handler': src/ctcp.c:166:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] cmds = g_list_append(cmds, g_memdup(h, sizeof(*h))); ^~~~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/ctcp.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here gpointer g_memdup (gconstpointer mem, ^~~~~~~~ src/ctcp.c: In function 'ctcp_process_request': src/ctcp.c:196:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (!g_strcasecmp(hl->name, args[0])) { ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/ctcp.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/ctcp.c:205:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (!g_strcasecmp(builtins[i].name, args[0])) { ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/ctcp.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ Compiling src/keyfile.c Compiling src/admin.c Compiling src/user.c src/nickserv.c: In function 'nickserv_find_nick': src/nickserv.c:41:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (g_strcasecmp(e->nick, nick)) ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/nickserv.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/nickserv.c:45:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (!g_strcasecmp(e->network, n->name)) return e->pass; ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/nickserv.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/nickserv.c: In function 'cache_nickserv_pass': src/nickserv.c:91:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (e->network && !g_strcasecmp(e->network, n->name) && ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/nickserv.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/nickserv.c:92:4: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] !g_strcasecmp(e->nick, n->external_state->me.nick)) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/nickserv.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/nickserv.c:96:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (!e->network && !g_strcasecmp(e->nick, n->external_state->me.nick) && ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/nickserv.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/nickserv.c:97:4: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] !g_strcasecmp(e->pass, newpass)) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/nickserv.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/nickserv.c: In function 'log_data': src/nickserv.c:120:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (dir == FROM_SERVER && !g_strcasecmp(l->args[0], "NICK") && ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/nickserv.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/nickserv.c:121:5: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] nickattempt && !g_strcasecmp(nickattempt, l->args[1])) { ^~~~~~~~~~~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/nickserv.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/nickserv.c:126:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (dir == TO_SERVER && !g_strcasecmp(l->args[0], "NICK")) { ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/nickserv.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/nickserv.c:132:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] (!g_strcasecmp(l->args[0], "PRIVMSG") || !g_strcasecmp(l->args[0], "NOTICE")) && ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/nickserv.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/nickserv.c:132:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] (!g_strcasecmp(l->args[0], "PRIVMSG") || !g_strcasecmp(l->args[0], "NOTICE")) && ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/nickserv.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/nickserv.c:133:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] (!g_strcasecmp(l->args[1], nickserv_nick(n)) && !g_strncasecmp(l->args[2], "IDENTIFY ", strlen("IDENTIFY ")))) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/nickserv.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/nickserv.c:133:3: warning: 'g_strncasecmp' is deprecated [-Wdeprecated-declarations] (!g_strcasecmp(l->args[1], nickserv_nick(n)) && !g_strncasecmp(l->args[2], "IDENTIFY ", strlen("IDENTIFY ")))) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/nickserv.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:204:23: note: declared here gint g_strncasecmp (const gchar *s1, ^~~~~~~~~~~~~ src/nickserv.c:138:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] !g_strcasecmp(l->args[0], "NS") && ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/nickserv.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/nickserv.c:139:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] !g_strcasecmp(l->args[1], "IDENTIFY")) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/nickserv.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/nickserv.c: In function 'nickserv_load': src/nickserv.c:184:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable] gboolean ret; ^~~ src/keyfile.c: In function 'keyfile_write_file': src/keyfile.c:92:11: warning: variable 'empty' set but not used [-Wunused-but-set-variable] gboolean empty = TRUE; ^~~~~ Compiling src/help.c src/admin.c: In function 'add_network_helper': src/admin.c:346:22: warning: variable 'n' set but not used [-Wunused-but-set-variable] struct irc_network *n; ^ src/admin.c: In function 'cmp_cmd': src/admin.c:714:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] return g_strcasecmp(cmda->name, cmdb->name); ^~~~~~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/admin.c: In function 'register_admin_command': src/admin.c:719:2: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] admin_commands = g_list_insert_sorted(admin_commands, g_memdup(cmd, sizeof(*cmd)), cmp_cmd); ^~~~~~~~~~~~~~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here gpointer g_memdup (gconstpointer mem, ^~~~~~~~ src/admin.c: In function 'process_cmd': src/admin.c:748:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (!g_strcasecmp(cmd->name, args[0])) { ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/admin.c: In function 'admin_to_server': src/admin.c:818:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (!g_strcasecmp(l->args[0], "PRIVMSG") || ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/admin.c:819:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] !g_strcasecmp(l->args[0], "NOTICE")) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/admin.c:822:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (g_strcasecmp(l->args[0], n->external_state->me.nick) == 0) { ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/admin.c:827:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (g_strcasecmp(l->args[1], ADMIN_CHANNEL) && ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/admin.c:828:4: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] g_strcasecmp(l->args[1], "ctrlproxy")) { ^~~~~~~~~~~~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/admin.c:840:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "ISON")) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/admin.c:851:4: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (!g_strcasecmp(l->args[i], "ctrlproxy") || ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/admin.c:852:5: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] !g_strcasecmp(l->args[i], n->external_state->me.nick)) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/admin.c:860:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "USERHOST")) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/admin.c:871:4: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (!g_strcasecmp(l->args[i], "ctrlproxy")) { ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/admin.c:874:4: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (!g_strcasecmp(l->args[i], n->external_state->me.nick)) { ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/admin.c:886:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "QUIT")) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/admin.c:888:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "MODE")) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/admin.c:891:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "WHO")) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/admin.c:920:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "JOIN")) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/admin.c:925:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "PART")) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/admin.c:933:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "WHOIS")) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/admin.c:938:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "AWAY")) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/admin.c: In function 'interpret_boolean': src/admin.c:1139:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (!g_strcasecmp(value, "true")) { ^~ Compiling src/repl_backends.c In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/admin.c:1142:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(value, "false")) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/admin.c: In function 'report_time_set': src/admin.c:1187:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (!g_strcasecmp(value, "never") || !g_strcasecmp(value, "false")) ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/admin.c:1187:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (!g_strcasecmp(value, "never") || !g_strcasecmp(value, "false")) ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/admin.c:1189:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] else if (!g_strcasecmp(value, "always")) ^~~~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/admin.c:1191:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] else if (!g_strcasecmp(value, "replication") || ^~~~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/admin.c:1192:6: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] !g_strcasecmp(value, "true")) ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/admin.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/admin.c: In function 'iochannel_admin_out': src/admin.c:1736:12: warning: variable 'status' set but not used [-Wunused-but-set-variable] GIOStatus status; ^~~~~~ Compiling src/listener.c src/help.c: In function 'help_free': src/help.c:33:3: warning: 'g_mapped_file_free' is deprecated: Use 'g_mapped_file_unref' instead [-Wdeprecated-declarations] g_mapped_file_free(h->file); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:59:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/help.c:23: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gmappedfile.h:54:14: note: declared here void g_mapped_file_free (GMappedFile *file); ^~~~~~~~~~~~~~~~~~ src/repl_backends.c: In function 'check_highlight': src/repl_backends.c:33:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (g_strcasecmp(l->args[0], "PRIVMSG") != 0 && ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/repl_backends.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/repl_backends.c:34:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] g_strcasecmp(l->args[0], "NOTICE") != 0) ^~~~~~~~~~~~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/repl_backends.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/repl_backends.c: In function 'log_data': src/repl_backends.c:100:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (g_strcasecmp(l->args[0], "PRIVMSG") && ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/repl_backends.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/repl_backends.c:101:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] g_strcasecmp(l->args[0], "NOTICE")) return TRUE; ^~~~~~~~~~~~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/repl_backends.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ Compiling src/log_support.c src/listener.c: In function 'handle_client_line': src/listener.c:197:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (!g_strcasecmp(l->args[0], "PASS")) { ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/listener.c:22: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ Compiling src/log_custom.c Compiling src/log_subst.c Compiling src/auto_away.c src/log_custom.c: In function 'log_custom_data': src/log_custom.c:192:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (dir == FROM_SERVER && !g_strcasecmp(l->args[0], "JOIN")) { ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/log_custom.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/log_custom.c:194:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (dir == FROM_SERVER && !g_strcasecmp(l->args[0], "PART")) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/log_custom.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/log_custom.c:196:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "PRIVMSG") && l->args[2] != NULL) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/log_custom.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/log_custom.c:209:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "NOTICE")) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/log_custom.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/log_custom.c:211:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "MODE") && l->args[1] != NULL && ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/log_custom.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/log_custom.c:215:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "QUIT")) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/log_custom.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/log_custom.c:217:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "KICK") && l->args[1] != NULL && ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/log_custom.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/log_custom.c:248:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "TOPIC") && dir == FROM_SERVER && ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/log_custom.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/log_custom.c:254:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "NICK") && dir == FROM_SERVER && ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/log_custom.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ Compiling src/network.c src/auto_away.c: In function 'log_data': src/auto_away.c:72:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (dir == TO_SERVER && !g_strcasecmp(l->args[0], "AWAY")) { ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/auto_away.c:27: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/auto_away.c:77:5: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] (!g_strcasecmp(l->args[0], "PRIVMSG") || ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/auto_away.c:27: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/auto_away.c:78:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] !g_strcasecmp(l->args[0], "NOTICE"))) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/auto_away.c:27: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ Compiling src/gnutls.c Compiling src/tlscert.c Compiling lib/state.c src/network.c: In function 'process_from_server': src/network.c:124:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (!g_strcasecmp(l->args[0], "PING")){ ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/network.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/network.c:127:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "PONG")){ ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/network.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/network.c:129:2: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "ERROR")) { ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/network.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/network.c:187:5: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (!g_strcasecmp(l->args[0], "PRIVMSG") && l->argc > 2 && ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/network.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/network.c:189:6: warning: 'g_strncasecmp' is deprecated [-Wdeprecated-declarations] g_strncasecmp(l->args[2], "\001ACTION", 7) != 0) { ^~~~~~~~~~~~~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/network.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:204:23: note: declared here gint g_strncasecmp (const gchar *s1, ^~~~~~~~~~~~~ src/network.c:191:5: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] } else if (!g_strcasecmp(l->args[0], "NOTICE") && l->argc > 2 && ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/network.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/network.c: In function 'find_network_by_hostname': src/network.c:245:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (n->name && !g_strcasecmp(n->name, hostname)) { ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/network.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/network.c:259:5: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (!g_strcasecmp(server->host, hostname) && ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/network.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/network.c:260:6: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] (!g_strcasecmp(server->port, portname) ^ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/network.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/network.c:268:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (n->name && !g_strcasecmp(n->name, hostname)) { ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from src/network.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ src/network.c: In function 'load_networks': src/network.c:432:23: warning: variable 'n' set but not used [-Wunused-but-set-variable] struct irc_network *n; ^ In file included from src/gnutls.c:21:0: /tmp/chat/ctrlproxy/work/.buildlink/include/gnutls/gnutls.h:539:2: error: C++ style comments are not allowed in ISO C90 // Here for compatibility reasons ^ /tmp/chat/ctrlproxy/work/.buildlink/include/gnutls/gnutls.h:539:2: error: (this will be reported only once per input file) In file included from src/tlscert.c:28:0: /tmp/chat/ctrlproxy/work/.buildlink/include/gnutls/gnutls.h:539:2: error: C++ style comments are not allowed in ISO C90 // Here for compatibility reasons ^ /tmp/chat/ctrlproxy/work/.buildlink/include/gnutls/gnutls.h:539:2: error: (this will be reported only once per input file) src/gnutls.c:31:2: warning: 'gnutls_certificate_credentials' is deprecated [-Wdeprecated-declarations] gnutls_certificate_credentials cred; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/gnutls.c:39:2: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations] gnutls_session session; ^~~~~~~~~~~~~~ src/gnutls.c:47:1: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations] verify_certificate (gnutls_session session, const char *hostname, GError **err) ^~~~~~~~~~~~~~~~~~ src/gnutls.c: In function 'verify_certificate': src/gnutls.c:51:51: warning: pointer targets in passing argument 2 of 'gnutls_certificate_verify_peers2' differ in signedness [-Wpointer-sign] res = gnutls_certificate_verify_peers2 (session, &status); ^ In file included from src/gnutls.c:21:0: /tmp/chat/ctrlproxy/work/.buildlink/include/gnutls/gnutls.h:2891:5: note: expected 'unsigned int *' but argument is of type 'int *' int gnutls_certificate_verify_peers2(gnutls_session_t session, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/gnutls.c:87:3: warning: 'gnutls_datum' is deprecated [-Wdeprecated-declarations] const gnutls_datum* cert_list; ^~~~~ In file included from src/gnutls.c:21:0: /tmp/chat/ctrlproxy/work/.buildlink/include/gnutls/gnutls.h:1238:9: note: declared here typedef struct { ^~~~~~ src/gnutls.c:89:3: warning: 'gnutls_x509_crt' is deprecated [-Wdeprecated-declarations] gnutls_x509_crt cert; ^~~~~~~~~~~~~~~ src/gnutls.c: At top level: src/gnutls.c:352:1: warning: 'gnutls_dh_params' is deprecated [-Wdeprecated-declarations] static gnutls_dh_params dh_params = NULL; ^~~~~~ src/gnutls.c: In function 'ssl_wrap_iochannel': src/gnutls.c:393:2: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations] gnutls_session session = NULL; ^~~~~~~~~~~~~~ src/tlscert.c: In function 'ssl_cert_generate': src/tlscert.c:43:2: warning: 'gnutls_x509_crt' is deprecated [-Wdeprecated-declarations] gnutls_x509_crt cacrt, crt; ^~~~~~~~~~~~~~~ src/tlscert.c:43:2: warning: 'gnutls_x509_crt' is deprecated [-Wdeprecated-declarations] src/tlscert.c:44:2: warning: 'gnutls_x509_privkey' is deprecated [-Wdeprecated-declarations] gnutls_x509_privkey key, cakey; ^~~~~~~~~~~~~~~~~~~ src/tlscert.c:44:2: warning: 'gnutls_x509_privkey' is deprecated [-Wdeprecated-declarations] gmake: *** [Makefile:130: src/gnutls.o] Error 1 gmake: *** Waiting for unfinished jobs.... gmake: *** [Makefile:130: src/tlscert.o] Error 1 lib/state.c: In function 'state_handle_data': lib/state.c:1120:3: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] if (!g_strcasecmp(irc_commands[i].command, l->args[0])) { ^~ In file included from /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib.h:82:0, from src/ctrlproxy.h:27, from src/internals.h:44, from lib/state.c:20: /tmp/chat/ctrlproxy/work/.buildlink/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here gint g_strcasecmp (const gchar *s1, ^~~~~~~~~~~~ *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/chat/ctrlproxy *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/chat/ctrlproxy