Re: BUG #17681: Building the REL_12_13 source in Visual Studio 2013 fails.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Daisuke Higuchi (Fujitsu)" <higuchi(dot)daisuke(at)fujitsu(dot)com>
Cc: "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #17681: Building the REL_12_13 source in Visual Studio 2013 fails.
Date: 2022-11-10 15:24:43
Message-ID: 160518.1668093883@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Daisuke Higuchi (Fujitsu)" <higuchi(dot)daisuke(at)fujitsu(dot)com> writes:
>> #if defined(_MSC_VER) && _MSC_VER < 1900 /* pre-VS2015 */
>> #define snprintf(str,size,...) sprintf(str,__VA_ARGS__)
>> #endif
>> in snprintf.c below where it #undef's snprintf. Could you try that and verify it works for you?

> Thank you! I verified this fix works correctly.
> I confirmed that it succeeded to build the source of REL_12_13 + this fix in Visual Studio 2013.

Excellent. Fix pushed.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2022-11-10 15:47:50 Re: Warnings about perl when compiling current HEAD
Previous Message hubert depesz lubaczewski 2022-11-10 09:44:43 Warnings about perl when compiling current HEAD