diff --git a/include/ircd/db/row.h b/include/ircd/db/row.h index 81b155919..ee640c4d4 100644 --- a/include/ircd/db/row.h +++ b/include/ircd/db/row.h @@ -57,7 +57,8 @@ struct ircd::db::row const string_view &key = {}, const vector_view &columns = {}, const vector_view &buf = {}, - gopts opts = {}); + gopts opts = {}) + __attribute__((stack_protect)); friend size_t seek(row &, const string_view &); }; diff --git a/ircd/db.cc b/ircd/db.cc index 590e22511..e0047d97a 100644 --- a/ircd/db.cc +++ b/ircd/db.cc @@ -8388,7 +8388,8 @@ ircd::db::seek(row &r, // // row // - +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstack-usage" ircd::db::row::row(database &d, const string_view &key, const vector_view &colnames, @@ -8470,6 +8471,7 @@ ircd::db::row::row(database &d, if(key) seek(*this, key); } +#pragma GCC diagnostic pop void ircd::db::row::operator()(const op &op,