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

From: "Daisuke Higuchi (Fujitsu)" <higuchi(dot)daisuke(at)fujitsu(dot)com>
To: 'Tom Lane' <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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 01:27:55
Message-ID: TYWPR01MB967660F1D712C4A387D6B3F9EC019@TYWPR01MB9676.jpnprd01.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

>#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.

Regards,
Higuchi

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Yugo NAGATA 2022-11-10 04:49:19 Re: BUG #17434: CREATE/DROP DATABASE can be executed in the same transaction with other commands
Previous Message Tom Lane 2022-11-09 16:38:05 Re: BUG #17434: CREATE/DROP DATABASE can be executed in the same transaction with other commands