bump to gcc12 for c++23 funtimes

master
bqv 3 years ago
parent da70b29ced
commit 209be85822
No known key found for this signature in database
GPG Key ID: 9E2FF3BDEBDFC910

@ -998,7 +998,7 @@ int connection__iq_handler(xmpp_conn_t *conn, xmpp_stanza_t *stanza, void *userd
children[0] = stanza__iq_pubsub(account->context, NULL, children[0] = stanza__iq_pubsub(account->context, NULL,
children, with_noop("http://jabber.org/protocol/pubsub")); children, with_noop("http://jabber.org/protocol/pubsub"));
children[0] = stanza__iq(account->context, NULL, children, NULL, children[0] = stanza__iq(account->context, NULL, children, NULL,
strdup("fetch2"), to.size() ? strdup(to.data()) : NULL, strdup("fetch2"), to ? strdup(to) : NULL,
binding.from ? strdup(binding.from->bare.data()) : NULL, strdup("get")); binding.from ? strdup(binding.from->bare.data()) : NULL, strdup("get"));
xmpp_send(conn, children[0]); xmpp_send(conn, children[0]);
xmpp_stanza_release(children[0]); xmpp_stanza_release(children[0]);

@ -3,8 +3,10 @@ ifdef DEBUG
DBGLDFLAGS=-lasan -lrt -lasan #-lubsan -llsan DBGLDFLAGS=-lasan -lrt -lasan #-lubsan -llsan
endif endif
RM=rm -f RM ?= rm -f
FIND=find FIND ?= find
CC = $(if $(shell which gcc-12.0.1),gcc-12.0.1,cc)
CXX = $(if $(shell which g++-12.0.1),g++-12.0.1,c++)
INCLUDES=-Ilibstrophe -Ideps -Ideps/fmt/include \ INCLUDES=-Ilibstrophe -Ideps -Ideps/fmt/include \
$(shell xml2-config --cflags) \ $(shell xml2-config --cflags) \

Loading…
Cancel
Save