pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Noah Misch <noah@leadboat.com>
Cc: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Synchronize with imath upstream
Date: Sun, 03 Feb 2019 10:31:26 -0500
Message-ID: <5102.1549207886@sss.pgh.pa.us> (raw)
In-Reply-To: <20190203062048.GB6226@rfd.leadboat.com>
References: <20190203035704.GA6226@rfd.leadboat.com>
	<87y36x76r7.fsf@news-spur.riddles.org.uk>
	<20190203062048.GB6226@rfd.leadboat.com>

Noah Misch <noah@leadboat.com> writes:
> The -Wno-declaration-after-statement approach takes eight lines of code, and
> the filter-out approach takes one.  On the other hand, using $(filter-out)
> changes any runs of whitespace to single spaces ("$(filter-out foo,a    b c)"
> yields "a b c").  We do risk that with CPPFLAGS and LDFLAGS in a few places.
> I don't want to proliferate that practice, because it changes semantics of
> CFLAGS containing -DFOO="arbitrary    text".

I don't particularly buy that argument, because CPPFLAGS is where any -D
switches ought to be put.  So we've already exposed ourselves to this
risk, in the unlikely scenario where it's not hypothetical.

			regards, tom lane




view thread (22+ messages)  latest in thread

Message-ID: <5102.1549207886@sss.pgh.pa.us>
Permalink:  ../5102.1549207886@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5102.1549207886@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, noah@leadboat.com, andrew@tao11.riddles.org.uk
  Subject: Re: Synchronize with imath upstream
  In-Reply-To: <5102.1549207886@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox