Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VinSQ-0002Dk-8f for pgsql-hackers@arkaria.postgresql.org; Tue, 19 Nov 2013 15:43:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VinSP-0001tn-I4 for pgsql-hackers@arkaria.postgresql.org; Tue, 19 Nov 2013 15:43:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VinSO-0001tf-Eb for pgsql-hackers@postgresql.org; Tue, 19 Nov 2013 15:43:16 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VinSH-0002OE-Ru for pgsql-hackers@postgresql.org; Tue, 19 Nov 2013 15:43:16 +0000 Received: from intern.anarazel.de (p5DDC736E.dip0.t-ipconnect.de [93.220.115.110]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id 63E864F0004; Tue, 19 Nov 2013 16:43:09 +0100 (CET) Date: Tue, 19 Nov 2013 16:43:08 +0100 From: Andres Freund To: Tom Lane Cc: Robert Haas , Peter Eisentraut , Peter Geoghegan , Pg Hackers , Ants Aasma Subject: Re: better atomics - v0.2 Message-ID: <20131119154308.GC19293@alap2.anarazel.de> References: <20131115200416.GH5489@awork2.anarazel.de> <8392.1384873040@sss.pgh.pa.us> <20131119151646.GD10498@alap2.anarazel.de> <9336.1384875455@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9336.1384875455@sss.pgh.pa.us> X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 2013-11-19 10:37:35 -0500, Tom Lane wrote: > Andres Freund writes: > > The only animal we have that doesn't support quiet inlines today is > > HP-UX/ac++, and I think - as in patch 1 in the series - we might be able > > to simply suppress the warning there. > > Or just not worry about it, if it's only a warning? Or does the warning > mean code bloat (lots of useless copies of the inline function)? I honestly have no idea whether it causes code bloat - I'd be surprised if it did since it detects that they are unused, but I cannot rule it out entirely. The suggested patch - untested since I have no access to HP-UX - just adds +W2177 to the compiler's commandline in template/hpux which supposedly suppressed that warning. I think removing the quiet inline test is a good idea, but that doesn't preclude fixing the warnings at the same time. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers