pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Avoid macro clash with LLVM 9.
Date: Sun, 28 Jul 2019 22:26:23 +0000
Message-ID: <E1hrrcV-0003CJ-Gv@gemulon.postgresql.org> (raw)

Avoid macro clash with LLVM 9.

Early previews of LLVM 9 reveal that our Min() macro causes compiler
errors in LLVM headers reached by the #include directives in
llvmjit_inline.cpp.  Let's just undefine it.  Per buildfarm animal
seawasp.  Back-patch to 11.

Reviewed-by: Fabien Coelho, Tom Lane
Discussion: https://postgr.es/m/20190606173216.GA6306%40alvherre.pgsql

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0ef70bbaddb6b725c1d0d72bcf607ef9fdba0c1c

Modified Files
--------------
src/backend/jit/llvm/llvmjit_inline.cpp | 3 +++
1 file changed, 3 insertions(+)



view thread (3+ messages)

Message-ID: <E1hrrcV-0003CJ-Gv@gemulon.postgresql.org>
Permalink:  ../E1hrrcV-0003CJ-Gv@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hrrcV-0003CJ-Gv@gemulon.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tmunro@postgresql.org
  Subject: Re: pgsql: Avoid macro clash with LLVM 9.
  In-Reply-To: <E1hrrcV-0003CJ-Gv@gemulon.postgresql.org>
  References: <E1hrrcV-0003CJ-Gv@gemulon.postgresql.org>

* 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