Re: pgsql: Allow building with MSVC and Strawberry perl

From: Andres Freund <andres(at)anarazel(dot)de>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Allow building with MSVC and Strawberry perl
Date: 2022-11-25 23:48:13
Message-ID: 20221125234813.25iiq5snxejebdak@awork3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Hi,

On 2022-11-25 15:33:31 -0800, Andres Freund wrote:
> FWIW a meson build with msvc 2019 and strawberry perl 5.32 builds fine with
> #define __builtin_expect(expr, val) (expr)

And it does so with src/tools/msvc as well. I think we might need a
preprocessed plperl.c from drongo to analyze this further.

There might be some unrelated under-specified build issues, I get weird errors
if I start by building plperl.vcxproj, without first having built
postgres.vcxproj. But ...

Greetings,

Andres Freund

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2022-11-25 23:56:02 Re: pgsql: Allow building with MSVC and Strawberry perl
Previous Message Andres Freund 2022-11-25 23:33:31 Re: pgsql: Allow building with MSVC and Strawberry perl