Re: [PATCH] Fix PostgreSQL server build and install problems under MSYS2 - Mailing list pgsql-hackers

From Guram Duka
Subject Re: [PATCH] Fix PostgreSQL server build and install problems under MSYS2
Date
Msg-id CABVxKcycNie3-zN1eY560esj9BCVtQTsdDHjMhRgZg3WzuZZLw@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Fix PostgreSQL server build and install problems underMSYS2  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
Thank you for your comments.

1. The #if ... defined(__ cplusplus) is necessary for the successful compilation of C++ llvmjit code that uses C headers.
2. #if defined(HAVE_GSS_API_H) && !defined(GSS_DLLIMP) is necessary for the successful link libgss.a provided by MSYS2.
3. Remember that you need to run autoreconf before running configure.
4. Found and fixed a small bug in the patch. Build in environment CentOS 7.7.1908 works. Build in environment MSYS2 gcc 9.2.0 works. Build in environment Visual Studio Community 2019 works.

The second version of the patch attached.
Waiting for your comments.

--
Best regards.
Guram Duka.

Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Ordering of header file inclusion
Next
From: Kyotaro Horiguchi
Date:
Subject: Re: [BUG FIX] Uninitialized var fargtypes used.