From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp43.i.mail.ru (smtp43.i.mail.ru [94.100.177.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 32ED5469710 for ; Mon, 8 Jun 2020 13:23:11 +0300 (MSK) Date: Mon, 8 Jun 2020 13:23:10 +0300 From: Kirill Yukhin Message-ID: <20200608102309.wpq2fv6bovl4kbg5@tarantool.org> References: <20200605140125.25329-1-sergepetrenko@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200605140125.25329-1-sergepetrenko@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH] decimal: fix build with GCC 10 List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Serge Petrenko Cc: tarantool-patches@dev.tarantool.org, alexander.turenko@tarantool.org Hello, On 05 июн 17:01, Serge Petrenko wrote: > GCC 10 produces the following error: > cc1: warning: function may return address of local variable [-Wreturn-local-addr] > > Fix it. > > Part-of #4966 > --- > https://github.com/tarantool/tarantool/issues/4966 > https://github.com/tarantool/tarantool/tree/sp/gh-4966-decimal-build LGTM. I've checked your patch into 2.3, 2.4 and master. -- Regards, Kirill Yukhin