Re: LLVM compile failing in seawasp

Fabien COELHO <coelho@cri.ensmp.fr>

From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, didier <did447@gmail.com>, Alvaro Herrera <alvherre@2ndquadrant.com>, Pg Hackers <pgsql-hackers@lists.postgresql.org>, buildfarm@coelho.net
Date: 2019-07-27T07:05:58Z
Lists: pgsql-hackers
>>> c.h defines a C Min macro conflicting with llvm new class
>>> llvm:ElementCount Min member
>>
>> Really?  Well, we will hardly be the only code they broke with that.
>> I think we can just wait for them to reconsider.
>
> FYI This is now on LLVM's release_90 branch, due out on August 28.

Maybe we should consider doing an explicit bug report, but I would not bet 
that they are going to fold… or fixing the issue pg side, eg "pg_Min", 
less than 400 hundred instances, and backpatch to all supported 
versions:-(

-- 
Fabien.

Commits

  1. Avoid macro clash with LLVM 9.