From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgresql.org, Thomas Munro <thomas.munro@gmail.com>
Cc: Justin Pryzby <pryzby@telsasoft.com>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Subject: Re: meson: Add support for building with precompiled headers
Date: Wed, 05 Oct 2022 16:21:55 -0400
Message-ID: <2551678.1665001315@sss.pgh.pa.us> (raw)
In-Reply-To: <20221005201742.wsvfbymo5yhlrzbl@awork3.anarazel.de>
References: <20221005190829.lda7ttalh4mzrvf4@awork3.anarazel.de>
<2550386.1665000554@sss.pgh.pa.us>
<20221005201742.wsvfbymo5yhlrzbl@awork3.anarazel.de>
Andres Freund <andres@anarazel.de> writes:
> On 2022-10-05 16:09:14 -0400, Tom Lane wrote:
>> Color me confused, but how does it work to #define that from the command
>> line if it can't be overridden from within the program?
> If specified on the commandline it's also used when generating the precompiled
> header - of course that's not possible when it's just #define'd in some .c
> file.
Ah, so there's a separate cache of precompiled headers for each set of
compiler command-line arguments? Got it.
regards, tom lane
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, andres@anarazel.de, thomas.munro@gmail.com, pryzby@telsasoft.com, michael.paquier@gmail.com, peter.eisentraut@enterprisedb.com
Subject: Re: meson: Add support for building with precompiled headers
In-Reply-To: <2551678.1665001315@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