pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Avoid macro clash with LLVM 9.
3+ messages / 1 participants
[nested] [flat]

* pgsql: Avoid macro clash with LLVM 9.
@ 2019-07-28 22:25  Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Thomas Munro @ 2019-07-28 22:25 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a2a777d011971ace3a349a3f02b1bf6eeea07bf2

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Avoid macro clash with LLVM 9.
@ 2019-07-28 22:25  Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Thomas Munro @ 2019-07-28 22:25 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/180825fe43ece9bf13c27929b7fdeec5a457e9c3

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Avoid macro clash with LLVM 9.
@ 2019-07-28 22:26  Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Thomas Munro @ 2019-07-28 22:26 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(+)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2019-07-28 22:26 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-07-28 22:25 pgsql: Avoid macro clash with LLVM 9. Thomas Munro <tmunro@postgresql.org>
2019-07-28 22:25 pgsql: Avoid macro clash with LLVM 9. Thomas Munro <tmunro@postgresql.org>
2019-07-28 22:26 pgsql: Avoid macro clash with LLVM 9. Thomas Munro <tmunro@postgresql.org>

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