LLVM breakage on seawasp

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: LLVM breakage on seawasp
Date: 2019-08-24 20:08:11
Message-ID: CA+hUKGJWG7unNqmkxg7nC5o3o-0p2XP6co4r=9epqYMm8UY4Mw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

llvmjit_inline.cpp:177:55: error: ‘make_unique’ is not a member of ‘llvm’
std::unique_ptr<ImportMapTy> globalsToInline =
llvm::make_unique<ImportMapTy>();

That's because they just moved to C++14 and replaced their own
llvm::make_unique<> with std::make_unique<>:

https://github.com/llvm-mirror/llvm/commit/114087caa6f95b526861c3af94b3093d9444c57b

Perhaps we'll need some macrology to select between llvm and std
versions? I am guessing we can't decree that PostgreSQL's minimum C++
level is C++14 and simply change it to std::make_unique.

--
Thomas Munro
https://enterprisedb.com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2019-08-24 20:24:09 Re: LLVM breakage on seawasp
Previous Message Tom Lane 2019-08-24 19:39:31 Re: [PATCH] Make configuration file "include" directive handling more robust