pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Petr Jelinek <petr@2ndquadrant.com>
To: Yury Zhuravlev <u.zhuravlev@postgrespro.ru>
To: pgsql-hackers@postgresql.org
Subject: Re: VS 2015 support in src/tools/msvc
Date: Wed, 9 Mar 2016 14:41:07 +0100
Message-ID: <56E027F3.1030101@2ndquadrant.com> (raw)
In-Reply-To: <bc990e46-581d-414d-9845-2762ea1ea15d@postgrespro.ru>
References: <CAB7nPqTTcRGbDxS_RA4CWn1B_KRsvN+FTpct0mTp3v3gRWQ70g@mail.gmail.com>
	<56D8B8E3.5070708@2ndquadrant.com>
	<CAB7nPqQzNsRChCxRZt3O1jWMRtPYJO3ibHZ2eVgJBOEpp4aTYQ@mail.gmail.com>
	<CAB7nPqRL+kuZ8dq6P3WXv-b0-0LAwTxecnaLnvBn4ah7PSbWsQ@mail.gmail.com>
	<CAB7nPqT8mfN6GoRt4WcNh8WiK==sSh3VkVonRFMzOi6oXefTQw@mail.gmail.com>
	<56DA6394.9040404@2ndquadrant.com>
	<CAB7nPqQfoNWGnXjTCf8ZuRtcz0D0fHpE43haoy3CHYgJVf1oDg@mail.gmail.com>
	<15559.1457156815@sss.pgh.pa.us>
	<56DAEE74.3010604@dunslane.net>
	<CAB7nPqSuzGoZPvCUhbDFTkmsD9z6oLAaHeB-yc7_Qb4sh_f-fg@mail.gmail.com>
	<56DB47A5.7040502@dunslane.net>
	<CAB7nPqSOL9vLmaecT+SDhkFTOje8erdnvC-KT+dH9_bBQsV5zg@mail.gmail.com>
	<CAB7nPqRSsrn5etFDEJ+VrWcoxFee8WRBteSgwobKocKQJUFC_A@mail.gmail.com>
	<56DEEF92.4020507@dunslane.net>
	<9775.1457451803@sss.pgh.pa.us>
	<56DEF8B6.8070205@dunslane.net>
	<CAB7nPqT5oGZEZawKZVjxuT=C5QEK_eUfc1J7KNpCbv5rCtr0+g@mail.gmail.com>
	<bc990e46-581d-414d-9845-2762ea1ea15d@postgrespro.ru>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 09/03/16 12:09, Yury Zhuravlev wrote:
>> Good point. It did not occur to me that this would bring a hard
>> dependency for non-Windows builds. Let's keep both scripts then. The
>> attached is changed to do so.
>
> Hello.
> What about putenv problem? We can't write:
> #define putenv(x) pgwin32_putenv(x)
> because in new CRT putenv have different signature.
>

Hmm, I don't see any problem there.

We should however add the msvc 2015 module to rtmodules in the 
pgwin32_putenv so that we can run just with that runtime.

-- 
   Petr Jelinek                  http://www.2ndQuadrant.com/
   PostgreSQL Development, 24x7 Support, Training & Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (134+ messages)  latest in thread

Message-ID: <56E027F3.1030101@2ndquadrant.com>
Permalink:  ../56E027F3.1030101@2ndquadrant.com/
Also on:    postgresql.org/message-id/56E027F3.1030101@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: petr@2ndquadrant.com, u.zhuravlev@postgrespro.ru
  Subject: Re: VS 2015 support in src/tools/msvc
  In-Reply-To: <56E027F3.1030101@2ndquadrant.com>
  References: <CAB7nPqTTcRGbDxS_RA4CWn1B_KRsvN+FTpct0mTp3v3gRWQ70g@mail.gmail.com> <56D8B8E3.5070708@2ndquadrant.com> <CAB7nPqQzNsRChCxRZt3O1jWMRtPYJO3ibHZ2eVgJBOEpp4aTYQ@mail.gmail.com> <CAB7nPqRL+kuZ8dq6P3WXv-b0-0LAwTxecnaLnvBn4ah7PSbWsQ@mail.gmail.com> <CAB7nPqT8mfN6GoRt4WcNh8WiK==sSh3VkVonRFMzOi6oXefTQw@mail.gmail.com> <56DA6394.9040404@2ndquadrant.com> <CAB7nPqQfoNWGnXjTCf8ZuRtcz0D0fHpE43haoy3CHYgJVf1oDg@mail.gmail.com> <15559.1457156815@sss.pgh.pa.us> <56DAEE74.3010604@dunslane.net> <CAB7nPqSuzGoZPvCUhbDFTkmsD9z6oLAaHeB-yc7_Qb4sh_f-fg@mail.gmail.com> <56DB47A5.7040502@dunslane.net> <CAB7nPqSOL9vLmaecT+SDhkFTOje8erdnvC-KT+dH9_bBQsV5zg@mail.gmail.com> <CAB7nPqRSsrn5etFDEJ+VrWcoxFee8WRBteSgwobKocKQJUFC_A@mail.gmail.com> <56DEEF92.4020507@dunslane.net> <9775.1457451803@sss.pgh.pa.us> <56DEF8B6.8070205@dunslane.net> <CAB7nPqT5oGZEZawKZVjxuT=C5QEK_eUfc1J7KNpCbv5rCtr0+g@mail.gmail.com> <bc990e46-581d-414d-9845-2762ea1ea15d@postgrespro.ru> <56E027F3.1030101@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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